aboutsummaryrefslogtreecommitdiffstats
path: root/Cargo.toml
diff options
context:
space:
mode:
Diffstat (limited to 'Cargo.toml')
-rw-r--r--Cargo.toml5
1 files changed, 5 insertions, 0 deletions
diff --git a/Cargo.toml b/Cargo.toml
index 8a372a0..ed08f98 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -5,6 +5,11 @@ edition = "2024"
# The transports are features, none of them default: a build has those it names, at
# least one (`--features mycelium`, `--features libp2p,tor`, ...).
+# The node is a library (`src/lib.rs`), which the binaries use: the node itself
+# (`src/main.rs`). Its doc comments are prose, not examples to test.
+[lib]
+doctest = false
+
[features]
tokio-console = ["dep:console-subscriber"]
# A dashboard of the node and a map of the swarm in the HTTP API (`/admin/dashboard`).