-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
33 lines (30 loc) · 911 Bytes
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
[package]
name = "home-config"
version = "0.6.0"
edition = "2021"
description = "Use configuration file in the HOME directory"
homepage = "https://github.com/wyhaya/home-config"
repository = "https://github.com/wyhaya/home-config.git"
authors = ["wyhaya <hi@wyhaya.com>"]
license = "MIT"
readme = "README.md"
keywords = [
"home",
"config",
"config-file"
]
[package.metadata.docs.rs]
features = ["json", "yaml", "toml", "hcl"]
[features]
default = []
json = ["dep:serde", "dep:serde_json"]
yaml = ["dep:serde", "dep:serde_yaml"]
toml = ["dep:serde", "dep:toml"]
hcl = ["dep:serde", "dep:hcl-rs"]
[dependencies]
dirs = "4.0.0"
serde = { version = "1.0.147", features = ["derive"], optional = true }
serde_json = { version = "1.0.87", optional = true }
serde_yaml = { version = "0.9.14", optional = true }
toml = { version = "0.5.9", optional = true }
hcl-rs = { version = "0.9.0", optional = true }