Cargo.toml (2281B)
1 [package] 2 name = "rhi" 3 version = "0.1.0" 4 edition = "2024" 5 authors = ["Radroots Authors"] 6 rust-version = "1.92.0" 7 license = "AGPL-3.0" 8 description = "Rhizome Nostr data vending machine (NIP-90)" 9 10 [workspace] 11 resolver = "2" 12 13 [workspace.dependencies] 14 radroots_core = { path = "../lib/crates/core" } 15 radroots_events = { path = "../lib/crates/events" } 16 radroots_events_codec = { path = "../lib/crates/events_codec" } 17 radroots_identity = { path = "../lib/crates/identity" } 18 radroots_log = { path = "../lib/crates/log" } 19 radroots_nostr = { path = "../lib/crates/nostr" } 20 radroots_runtime = { path = "../lib/crates/runtime" } 21 radroots_runtime_paths = { path = "../lib/crates/runtime_paths" } 22 radroots_sp1_guest_trade = { path = "../lib/crates/sp1_guest_trade" } 23 radroots_sp1_host_trade = { path = "../lib/crates/sp1_host_trade" } 24 radroots_trade = { path = "../lib/crates/trade" } 25 26 [features] 27 default = [] 28 sp1_verify = ["radroots_sp1_host_trade/sp1_verify"] 29 sp1_proving = ["sp1_verify", "radroots_sp1_host_trade/sp1_proving"] 30 sp1_cuda_proving = ["sp1_proving", "radroots_sp1_host_trade/sp1_cuda"] 31 32 [lints.rust] 33 unexpected_cfgs = { level = "warn", check-cfg = ['cfg(coverage_nightly)'] } 34 35 [dependencies] 36 radroots_core = { workspace = true, features = ["std", "serde"] } 37 radroots_events = { workspace = true, features = ["serde"] } 38 radroots_events_codec = { workspace = true, features = ["nostr"] } 39 radroots_identity = { workspace = true } 40 radroots_log = { workspace = true } 41 radroots_nostr = { workspace = true, features = ["client", "codec", "events", "http"] } 42 radroots_runtime = { workspace = true, features = ["cli"] } 43 radroots_runtime_paths = { workspace = true } 44 radroots_sp1_guest_trade = { workspace = true } 45 radroots_sp1_host_trade = { workspace = true } 46 radroots_trade = { workspace = true } 47 48 anyhow = { version = "1" } 49 clap = { version = "4", features = ["derive"] } 50 serde = { version = "1", default-features = false } 51 serde_json = { version = "1", default-features = false } 52 reqwest = { version = "0.12", default-features = false, features = ["json", "rustls-tls"] } 53 sha2 = { version = "0.10" } 54 tokio = { version = "1", features = ["full"] } 55 thiserror = { version = "2" } 56 toml = { version = "0.8" } 57 tracing = { version = "0.1" } 58 59 [dev-dependencies] 60 tempfile = { version = "3" }