-
Notifications
You must be signed in to change notification settings - Fork 41
Expand file tree
/
Copy pathCargo.toml
More file actions
55 lines (49 loc) · 1.99 KB
/
Cargo.toml
File metadata and controls
55 lines (49 loc) · 1.99 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
54
55
[package]
name = "workspace_tools"
version = "0.10.0"
edition = "2021"
authors = [
"Kostiantyn Wandalen <wandalen@obox.systems>",
]
license = "MIT"
readme = "readme.md"
documentation = "https://docs.rs/workspace_tools"
repository = "https://github.com/Wandalen/workspace_tools"
homepage = "https://github.com/Wandalen/workspace_tools"
description = """
Reliable workspace-relative path resolution for Rust projects. Automatically finds your workspace root and provides consistent file path handling regardless of execution context. Features memory-safe secret management, configuration loading with validation, and resource discovery.
"""
categories = [ "filesystem", "development-tools" ]
keywords = [ "workspace", "path", "cargo", "secrets", "config" ]
[lints]
workspace = true
[package.metadata.docs.rs]
features = [ "serde", "glob", "secrets", "secure", "validation" ]
all-features = false
[features]
default = [ "enabled", "serde" ]
full = [ "enabled", "serde", "glob", "secrets", "secure", "validation", "testing" ]
enabled = []
serde = [ "dep:serde", "dep:serde_json", "dep:serde_yaml" ]
glob = [ "dep:glob" ]
secrets = []
secure = [ "secrets", "dep:secrecy", "dep:zeroize" ]
validation = [ "dep:jsonschema", "dep:schemars" ]
testing = [ "dep:tempfile" ]
[dependencies]
# Core dependencies (always available)
cargo_metadata = { workspace = true }
toml = { workspace = true, features = [ "preserve_order" ] }
# Optional dependencies
glob = { workspace = true, optional = true }
tempfile = { workspace = true, optional = true }
serde = { workspace = true, features = [ "derive" ], optional = true }
serde_json = { workspace = true, optional = true }
serde_yaml = { workspace = true, optional = true }
jsonschema = { version = "0.20", optional = true }
schemars = { version = "0.8", optional = true }
secrecy = { version = "0.8", optional = true, features = [ "serde" ] }
zeroize = { version = "1.7", optional = true }
[dev-dependencies]
# Test utilities - using minimal local dependencies only
tempfile = { workspace = true }