From f568d97b7ad41bdeeb4d07c61fad468bc83ad3f6 Mon Sep 17 00:00:00 2001 From: tv Date: Sun, 29 Nov 2026 01:24:49 +0000 Subject: config: clap, serde, toml and tracing are features, none default MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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. --- Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Cargo.toml') 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"] } -- cgit v1.3.1