aboutsummaryrefslogtreecommitdiffstats
path: root/Cargo.toml
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2026-11-29 01:24:49 +0000
committertv <tv@krebsco.de>2026-11-29 01:24:49 +0000
commitf568d97b7ad41bdeeb4d07c61fad468bc83ad3f6 (patch)
tree4176b4be5bb27fcc6108a0c32c2da4376576a15f /Cargo.toml
parentf10ee79ddc2b0a541f1011aa395990df21e456b5 (diff)
config: clap, serde, toml and tracing are features, none default
A program names what it uses of the crate: * clap: the command line (arguments); * serde: what the values set are read into (layer::read), and durations and sizes as fields (units::duration_option, …); * toml: configuration files in TOML; without it a .toml file is refused, saying so, and files are JSON; * tracing: what a source replaces of an earlier one's, logged. continuum names all four.
Diffstat (limited to 'Cargo.toml')
-rw-r--r--Cargo.toml2
1 files changed, 1 insertions, 1 deletions
diff --git a/Cargo.toml b/Cargo.toml
index 4ec2cbc..f970ab9 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -49,7 +49,7 @@ most = ["dashboard", "federation", "libp2p", "mycelium", "tor"]
[dependencies]
# What a configuration is made of, from files and arguments: a crate of its own, for
# other programs to make theirs alike.
-config = { path = "crates/config" }
+config = { path = "crates/config", features = ["clap", "serde", "toml", "tracing"] }
anyhow = "1.0"
# The tor feature: arti's crates are released together, at the same version.
arti-client = { version = "0.48", optional = true, features = ["onion-service-client", "onion-service-service", "static-sqlite"] }