diff options
| author | tv <tv@krebsco.de> | 2026-11-28 22:11:12 +0000 |
|---|---|---|
| committer | tv <tv@krebsco.de> | 2026-11-29 00:22:34 +0000 |
| commit | 479246f98be360b5943458bd58d07e6d46f81fd0 (patch) | |
| tree | 0931722a9151e5f65180e8260f9e3faf7780c1ab /Cargo.toml | |
| parent | fdfe968d7abb6470e65253a720f87b82f5d5e388 (diff) | |
config: what a configuration imports by, in a crate of its own
Importers and placeholders (env:, file:, cmd:, ${…}, +json, $$, the
tables) move from config::import to the crate config, crates/config, as
its module import, as they were, public: the crate is for what a
program's configuration is made of, from its files and its arguments,
and other programs make theirs with it.
The repository is a workspace of the node and that crate, both default
members, so that cargo quick, cargo sim and clippy take in both.
Diffstat (limited to 'Cargo.toml')
| -rw-r--r-- | Cargo.toml | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -1,3 +1,9 @@ +# The node, and the libraries it is made with that other programs use too. Tests, +# checks and builds take them all in unless told otherwise. +[workspace] +members = ["crates/config"] +default-members = [".", "crates/config"] + [package] name = "continuum" version = "0.0.1" @@ -41,6 +47,9 @@ tor = [ 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" } 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"] } |
