[package] name = "continuum" version = "1.0.0" edition = "2024" [features] tokio-console = ["dep:console-subscriber"] # The libp2p transport (`--transports libp2p`). libp2p = ["dep:libp2p", "dep:libp2p-stream", "dep:futures"] # The Tor transport (`--transports tor`): onion services, with arti. tor = [ "dep:arti-client", "dep:tor-hsservice", "dep:tor-cell", "dep:tor-proto", "dep:tor-rtcompat", "dep:safelog", "dep:futures", ] [dependencies] anyhow = "1.0" # The tor feature: arti's crates are released together, at the same version. arti-client = { version = "0.47", optional = true, features = ["onion-service-client", "onion-service-service", "static-sqlite"] } tor-cell = { version = "0.47", optional = true } tor-hsservice = { version = "0.47", optional = true } tor-proto = { version = "0.47", optional = true } tor-rtcompat = { version = "0.47", optional = true } # Arti's: shows onion addresses unredacted, when asked. safelog = { version = "0.10", optional = true } argon2 = { version = "0.6", features = ["getrandom"] } async-stream = "0.3" async-trait = "0.1" automerge = "0.12" axum = "0.8" console-subscriber = { version = "0.5.0", optional = true } base64 = "0.23" blake3 = "1.8" bytes = "1.12" clap = "4.6" dashmap = "6.2" futures = { version = "0.3", optional = true } libp2p = { version = "0.57", optional = true, features = ["tokio", "tcp", "quic", "dns", "noise", "yamux", "ed25519", "identify", "macros", "relay", "dcutr", "autonat", "mdns", "kad"] } libp2p-stream = { version = "0.5.0-alpha", optional = true } ed25519-dalek = "3" getrandom = "0.4" libc = "0.2" password-hash = "0.6" reqwest = { version = "0.13", features = ["json", "query"] } rmp-serde = "1.3" serde = { version = "1.0", features = ["derive"] } serde_bytes = "0.11" serde_json = "1.0" sha2 = "0.11" thiserror = "2.0" toml = "1.1" tokio = { version = "1.53", features = ["full"] } tracing = "0.1" tracing-subscriber = { version = "0.3", features = ["env-filter", "fmt"] } url = "2.5" utoipa-swagger-ui = { version = "10", features = ["axum"] } uuid = { version = "1", features = ["v4"] } # A quick development loop (docs/development.md): line numbers in backtraces but no # full debug info, and dependencies built optimised (Automerge's work dominates the # tests) and without debug info. Built once; then a change rebuilds in seconds. [profile.dev] debug = "line-tables-only" [profile.dev.package."*"] debug = false opt-level = 2