diff options
Diffstat (limited to 'Cargo.toml')
| -rw-r--r-- | Cargo.toml | 9 |
1 files changed, 7 insertions, 2 deletions
@@ -3,8 +3,13 @@ name = "continuum" version = "1.0.0" edition = "2024" +# The transports are features, none of them default: a build has those it names, at +# least one (`--features mycelium`, `--features libp2p,tor`, ...). [features] tokio-console = ["dep:console-subscriber"] +# The Mycelium transport (`--transports mycelium`, the default where built): through a +# Mycelium daemon's API, one it supervises or one running elsewhere. +mycelium = ["dep:reqwest", "dep:libc"] # The libp2p transport (`--transports libp2p`). libp2p = ["dep:libp2p", "dep:libp2p-stream", "dep:futures"] # The Tor transport (`--transports tor`): onion services, with arti. @@ -44,9 +49,9 @@ libp2p = { version = "0.57", optional = true, features = ["tokio", "tcp", "quic" libp2p-stream = { version = "0.5.0-alpha", optional = true } ed25519-dalek = "3" getrandom = "0.4" -libc = "0.2" +libc = { version = "0.2", optional = true } password-hash = "0.6" -reqwest = { version = "0.13", features = ["json", "query"] } +reqwest = { version = "0.13", optional = true, features = ["json", "query"] } rmp-serde = "1.3" serde = { version = "1.0", features = ["derive"] } serde_bytes = "0.11" |
