aboutsummaryrefslogtreecommitdiffstats
path: root/Cargo.toml
diff options
context:
space:
mode:
Diffstat (limited to 'Cargo.toml')
-rw-r--r--Cargo.toml9
1 files changed, 7 insertions, 2 deletions
diff --git a/Cargo.toml b/Cargo.toml
index ed08f98..e4ba66c 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -6,17 +6,22 @@ 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.
+# (`src/main.rs`), and a party's client of a federation (`src/bin/continuum-party.rs`).
+# Its doc comments are prose, not examples to test.
[lib]
doctest = false
+[[bin]]
+name = "continuum-party"
+required-features = ["federation"]
+
[features]
tokio-console = ["dep:console-subscriber"]
# A dashboard of the node and a map of the swarm in the HTTP API (`/admin/dashboard`).
dashboard = []
# The federation (`docs/federation.md`) and the store it is built on (`docs/store.md`),
# stage by stage: without it, continuum builds and behaves as it does.
-federation = []
+federation = ["dep:reqwest", "dep:rustls"]
# The Mycelium transport (`--mycelium-enable`): through a Mycelium daemon's API, one it
# supervises or one running elsewhere.
mycelium = ["dep:reqwest", "dep:rustls", "dep:libc"]