aboutsummaryrefslogtreecommitdiffstats
path: root/crates/config/Cargo.toml
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2026-11-28 22:11:12 +0000
committertv <tv@krebsco.de>2026-11-29 00:22:34 +0000
commit479246f98be360b5943458bd58d07e6d46f81fd0 (patch)
tree0931722a9151e5f65180e8260f9e3faf7780c1ab /crates/config/Cargo.toml
parentfdfe968d7abb6470e65253a720f87b82f5d5e388 (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 'crates/config/Cargo.toml')
-rw-r--r--crates/config/Cargo.toml14
1 files changed, 14 insertions, 0 deletions
diff --git a/crates/config/Cargo.toml b/crates/config/Cargo.toml
new file mode 100644
index 0000000..090ee26
--- /dev/null
+++ b/crates/config/Cargo.toml
@@ -0,0 +1,14 @@
+# What a configuration is made of, from files and arguments (`src/lib.rs`): what
+# continuum's is made with, as a library for other programs to make theirs alike.
+[package]
+name = "config"
+version = "0.1.0"
+edition = "2024"
+
+# Its doc comments are prose, not examples to test.
+[lib]
+doctest = false
+
+[dependencies]
+anyhow = "1.0"
+serde_json = "1.0"