From 479246f98be360b5943458bd58d07e6d46f81fd0 Mon Sep 17 00:00:00 2001 From: tv Date: Sat, 28 Nov 2026 22:11:12 +0000 Subject: config: what a configuration imports by, in a crate of its own MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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. --- Cargo.lock | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'Cargo.lock') diff --git a/Cargo.lock b/Cargo.lock index 94691ea..b567587 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -931,6 +931,14 @@ dependencies = [ "crossbeam-utils", ] +[[package]] +name = "config" +version = "0.1.0" +dependencies = [ + "anyhow", + "serde_json", +] + [[package]] name = "console-api" version = "0.9.0" @@ -1019,6 +1027,7 @@ dependencies = [ "blake3", "bytes", "clap", + "config", "console-subscriber", "dashmap", "ed25519-dalek", -- cgit v1.3.1