From fcd93f789b254d3e8a8f993d7fbc786f907abbc5 Mon Sep 17 00:00:00 2001 From: tv Date: Wed, 18 Nov 2026 11:12:52 +0000 Subject: Cargo.toml: p256 with the federation alone A party's ECDSA keys are the federation's: without the `federation` feature, p256 isn't built. --- Cargo.toml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Cargo.toml') 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). -- cgit v1.3.1