From 2205aa4f871f22215c2d59776c8b9b22ccbc57e9 Mon Sep 17 00:00:00 2001 From: tv Date: Sat, 21 Nov 2026 15:47:31 +0000 Subject: features: most, for development Every feature but tokio-console, so that development names one set of features everywhere: the aliases, checks and single tests, so none rebuilds what another built. Not cargo's --all-features, which would take tokio-console too (it needs tokio_unstable), hence not "all". Not a default. --- .cargo/config.toml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to '.cargo') diff --git a/.cargo/config.toml b/.cargo/config.toml index 36c105c..2230736 100644 --- a/.cargo/config.toml +++ b/.cargo/config.toml @@ -1,9 +1,9 @@ # Shortcuts for the development loop (docs/development.md). [alias] # Everything but the simulations: a few seconds. -quick = "test --features mycelium,libp2p,tor,dashboard,federation -- --skip simtest" +quick = "test --features most -- --skip simtest" # The simulations: whole swarms in one process, in real time. -sim = "test --features mycelium,libp2p,tor,dashboard,federation simtest" +sim = "test --features most simtest" # The benchmarks: ignored tests named bench_*, in release builds, one at a time, with # what they print (`cargo bench` itself takes no aliases). -benchmarks = "test --release --features mycelium,libp2p,tor,dashboard,federation bench_ -- --ignored --nocapture --test-threads=1" +benchmarks = "test --release --features most bench_ -- --ignored --nocapture --test-threads=1" -- cgit v1.3.1