| 1 |
[package] |
| 2 |
name = "config-file" |
| 3 |
version = "0.2.3" # remember to update html_root_url |
| 4 |
authors = ["Marc-Antoine Perennou <[email protected]>"] |
| 5 |
edition = "2021" |
| 6 |
description = "Read and parse configuration file automatically" |
| 7 |
repository = "https://github.com/Keruspe/config-file" |
| 8 |
documentation = "https://docs.rs/config-file" |
| 9 |
keywords = ["config", "configuration"] |
| 10 |
categories = ["config"] |
| 11 |
license = "BSD-2-Clause" |
| 12 |
rust-version = "1.56.0" |
| 13 |
|
| 14 |
[lib] |
| 15 |
name = "config_file" |
| 16 |
|
| 17 |
[features] |
| 18 |
default = ["toml"] |
| 19 |
json = ["serde_json"] |
| 20 |
toml = ["toml-crate"] |
| 21 |
xml = ["serde-xml-rs"] |
| 22 |
yaml = ["serde_yaml"] |
| 23 |
|
| 24 |
[dependencies] |
| 25 |
serde = "^1.0" |
| 26 |
thiserror = "^1.0" |
| 27 |
|
| 28 |
[dependencies.serde_json] |
| 29 |
version = "^1.0" |
| 30 |
optional = true |
| 31 |
|
| 32 |
[dependencies.serde-xml-rs] |
| 33 |
version = "^0.5" |
| 34 |
optional = true |
| 35 |
|
| 36 |
[dependencies.serde_yaml] |
| 37 |
version = "^0.8" |
| 38 |
optional = true |
| 39 |
|
| 40 |
[dependencies.toml-crate] |
| 41 |
package = "toml" |
| 42 |
version = "^0.5" |
| 43 |
optional = true |
| 44 |
|
| 45 |
[dev-dependencies.serde] |
| 46 |
version = "^1.0" |
| 47 |
features = ["derive"] |