aboutsummaryrefslogtreecommitdiffstats
path: root/.cargo
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2026-11-21 15:47:31 +0000
committertv <tv@krebsco.de>2026-11-21 15:58:49 +0000
commit2205aa4f871f22215c2d59776c8b9b22ccbc57e9 (patch)
tree070b084f4faa6222e225c44cdeb44d598c58eda5 /.cargo
parent172bf66868eaca7bcc0fe2542378a6beb2593b27 (diff)
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.
Diffstat (limited to '.cargo')
-rw-r--r--.cargo/config.toml6
1 files changed, 3 insertions, 3 deletions
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"