aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2026-11-18 11:12:52 +0000
committertv <tv@krebsco.de>2026-11-18 12:20:14 +0100
commitfcd93f789b254d3e8a8f993d7fbc786f907abbc5 (patch)
tree991e2c28afaa4c5cc33d2b67bf6fe95a45c8619c
parent2b9bb568603ee10d4f1f3106a687a8642c162df7 (diff)
Cargo.toml: p256 with the federation alone
A party's ECDSA keys are the federation's: without the `federation` feature, p256 isn't built.
-rw-r--r--Cargo.toml4
1 files changed, 2 insertions, 2 deletions
diff --git a/Cargo.toml b/Cargo.toml
index 4faaaed..123d91c 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -21,7 +21,7 @@ tokio-console = ["dep:console-subscriber"]
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 = ["dep:reqwest", "dep:rustls"]
+federation = ["dep:reqwest", "dep:rustls", "dep:p256"]
# 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"]
@@ -70,7 +70,7 @@ getrandom = "0.4"
jiff = { version = "0.2", default-features = false, features = ["std"] }
libc = { version = "0.2", optional = true }
# A party's ECDSA keys on NIST P-256 (`ecdsa-sha2-nistp256`), beside its Ed25519 ones.
-p256 = { version = "0.14", default-features = false, features = ["ecdsa"] }
+p256 = { version = "0.14", optional = true, default-features = false, features = ["ecdsa"] }
password-hash = "0.6"
# Its TLS (only for a Mycelium daemon elsewhere, over https) is rustls with ring, which
# libp2p's QUIC uses too, rather than reqwest's default aws-lc (a C library, cmake).