Cargo.toml (1689B)
1 [package] 2 name = "radroots_relay_transport" 3 publish = false 4 version = "0.1.0-alpha.2" 5 edition.workspace = true 6 authors = ["Tyson Lupul <tyson@radroots.org>"] 7 rust-version.workspace = true 8 license.workspace = true 9 description = "Deterministic Nostr relay transport substrate" 10 repository.workspace = true 11 homepage.workspace = true 12 documentation = "https://docs.rs/radroots_relay_transport" 13 readme = "README" 14 15 [features] 16 default = ["std", "client", "storage", "runtime-tokio"] 17 std = [] 18 client = [ 19 "dep:radroots_nostr", 20 "radroots_nostr/std", 21 "radroots_nostr/client", 22 "radroots_nostr/events", 23 ] 24 storage = ["dep:radroots_event_store", "dep:radroots_outbox", "client"] 25 runtime-tokio = [ 26 "storage", 27 "radroots_event_store/runtime-tokio", 28 "radroots_outbox/runtime-tokio", 29 ] 30 31 [dependencies] 32 radroots_events = { workspace = true, default-features = false, features = [ 33 "std", 34 "serde", 35 ] } 36 radroots_event_store = { workspace = true, optional = true, default-features = false, features = [ 37 "sqlite", 38 "runtime-tokio", 39 ] } 40 radroots_nostr = { workspace = true, optional = true, default-features = false, features = [ 41 "std", 42 "client", 43 "events", 44 ] } 45 radroots_outbox = { workspace = true, optional = true, default-features = false, features = [ 46 "sqlite", 47 "runtime-tokio", 48 ] } 49 futures = { workspace = true } 50 nostr = { workspace = true } 51 serde = { workspace = true, features = ["derive", "std"] } 52 serde_json = { workspace = true, features = ["std"] } 53 thiserror = { workspace = true } 54 url = { workspace = true } 55 56 [dev-dependencies] 57 tokio = { workspace = true, features = ["macros", "rt"] } 58 59 [lints.rust] 60 unexpected_cfgs = { level = "warn", check-cfg = ['cfg(coverage_nightly)'] }