-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
53 lines (48 loc) · 1.43 KB
/
Cargo.toml
File metadata and controls
53 lines (48 loc) · 1.43 KB
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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
[package]
name = "envpath"
version = "0.0.1"
edition = "2024"
rust-version = "1.85.0"
license = "Apache-2.0"
authors = ["Moe <m@tmoe.me>"]
readme = "docs/Readme.md"
keywords = ["serde"]
categories = ["encoding", "parser-implementations", "parsing", "config"]
repository = "https://github.com/2moe/envpath"
description = """
A library for parsing and deserialising paths with special rules.
The format is similar to `["$proj(com.xy.z): data ? cfg", "$const: os", "$val: rand-16"]`
"""
[features]
default = ["consts", "dirs", "project"]
dirs = ["dep:dirs"]
project = ["dep:directories"]
consts = []
serde = [
"dep:serde",
# "compact_str/serde",
"smallvec/serde",
]
rand = ["dep:rand"]
value = []
all = ["dirs", "project", "consts", "serde", "rand", "value"]
[dependencies]
# compact_str = { version = "0.9.0", features = ["smallvec"] }
smallvec = "2.0.0-alpha.11"
directories = { version = "6.0.0", optional = true }
dirs = { version = "6.0.0", optional = true }
rand = { version = "0.9.1", optional = true }
serde = { version = "1.0.159", optional = true }
[dev-dependencies]
ron = "0.10.1"
serde = { version = "1.0.159", features = ["derive"] }
anyhow = "1.0.70"
testutils = "0.0.5"
[lints.rust.unexpected_cfgs]
level = "warn"
check-cfg = ['cfg(__unstable_doc)']
[package.metadata.docs.rs]
all-features = true
default-targets = ["x86_64-unknown-linux-gnu"]
rustdoc-args = ["--cfg", "__unstable_doc"]
# rustdoc-args = ["--document-private-items"]