diff options
| author | tv <tv@krebsco.de> | 2026-11-18 11:12:52 +0000 |
|---|---|---|
| committer | tv <tv@krebsco.de> | 2026-11-18 12:20:14 +0100 |
| commit | fcd93f789b254d3e8a8f993d7fbc786f907abbc5 (patch) | |
| tree | 991e2c28afaa4c5cc33d2b67bf6fe95a45c8619c | |
| parent | 2b9bb568603ee10d4f1f3106a687a8642c162df7 (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.toml | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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). |
