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. --- src/api/dashboard/check.js | 2 +- src/api/dashboard/mod.rs | 2 +- src/transport/mycelium/real_daemons.rs | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to 'src') diff --git a/src/api/dashboard/check.js b/src/api/dashboard/check.js index ee37aa6..3325f21 100644 --- a/src/api/dashboard/check.js +++ b/src/api/dashboard/check.js @@ -1,4 +1,4 @@ -// Browser checks of the dashboard page (`cargo test --features dashboard +// Browser checks of the dashboard page (`cargo test --features most // dashboard_in_a_browser -- --ignored`, which serves this the page as the node does): the // page loads without errors; the peers table has a row per peer, and an update changes // cells without making the rows anew (`morphChildren`); the map draws a node per member; diff --git a/src/api/dashboard/mod.rs b/src/api/dashboard/mod.rs index c0de169..f5a91ac 100644 --- a/src/api/dashboard/mod.rs +++ b/src/api/dashboard/mod.rs @@ -908,7 +908,7 @@ mod tests { /// the map draw what the state says, a large map doesn't hold the page up, and the /// federation shows who writes where, what a proposal changes, and the votes. /// Needs Node.js with Playwright's library and its Chromium (`check.nix` gives them), - /// so only when asked: `cargo test --features dashboard dashboard_in_a_browser -- + /// so only when asked: `cargo test --features most dashboard_in_a_browser -- /// --ignored`. #[test] #[ignore] diff --git a/src/transport/mycelium/real_daemons.rs b/src/transport/mycelium/real_daemons.rs index 890002f..93095f8 100644 --- a/src/transport/mycelium/real_daemons.rs +++ b/src/transport/mycelium/real_daemons.rs @@ -2,7 +2,7 @@ //! (`MyceliumSetup::bootstrap`): two on loopback, one peering with the other, which carry //! a message each way after idling, again and again. Ignored: it needs `mycelium` on the //! `PATH` (Linux, as supervising does), and IPv6, which the daemons listen on for peers: -//! `cargo test --features mycelium -- --ignored two_supervised_daemons`. +//! `cargo test --features most -- --ignored two_supervised_daemons`. use std::sync::Arc; use std::time::Duration; -- cgit v1.3.1