Cargo.toml (14398B)
1 [workspace] 2 members = [ 3 "crates/core", 4 "crates/domain", 5 "crates/execution", 6 "crates/event", 7 "crates/event_codec", 8 "crates/blossom", 9 "crates/identity", 10 "crates/nostr", 11 "crates/nostr_connect", 12 "crates/protocol", 13 "crates/signing", 14 "crates/secrets", 15 "crates/storage", 16 "crates/storage_sqlite", 17 "crates/storage_indexeddb", 18 "crates/sync", 19 "crates/geonames", 20 "crates/nostrdb", 21 "crates/transport_nostr", 22 "crates/transport_nostr_native", 23 "crates/transport_nostr_browser", 24 "crates/transport_reticulum", 25 "crates/simplex_app_store", 26 "crates/simplex_agent_proto", 27 "crates/simplex_chat_proto", 28 "crates/simplex_smp_crypto", 29 "crates/simplex_smp_proto", 30 "crates/simplex_smp_transport", 31 "crates/sql_core", 32 "crates/test_fixtures", 33 "crates/replica_schema", 34 "crates/replica_sync", 35 "crates/replica_store", 36 "crates/runtime_paths", 37 "crates/runtime_distribution", 38 "crates/runtime_manager", 39 "crates/service_host", 40 "crates/service_sqlite", 41 "crates/trade", 42 "crates/transport", 43 "crates/mesh", 44 "crates/mesh_agent_client", 45 "crates/mesh_agent_proto", 46 "crates/core_bindings", 47 "crates/event_bindings", 48 "crates/event_codec_wasm", 49 "crates/identity_bindings", 50 "crates/radroots", 51 "crates/radroots_browser", 52 "crates/radroots_ffi", 53 "crates/replica_schema_bindings", 54 "crates/replica_store_wasm", 55 "crates/replica_sync_wasm", 56 "crates/sdk", 57 "crates/sdk_ffi", 58 "crates/sdk_sql_wasm_runtime", 59 "crates/trade_bindings", 60 "tools/xtask", 61 ] 62 default-members = [ 63 "crates/core", 64 "crates/domain", 65 "crates/execution", 66 "crates/identity", 67 "crates/blossom", 68 "crates/protocol", 69 "crates/event", 70 "crates/event_codec", 71 "crates/trade", 72 "crates/signing", 73 "crates/transport", 74 "crates/nostr", 75 "crates/nostr_connect", 76 "crates/secrets", 77 "crates/storage", 78 "crates/storage_sqlite", 79 "crates/transport_nostr", 80 "crates/transport_nostr_native", 81 "crates/sync", 82 "crates/geonames", 83 "crates/sdk", 84 "crates/radroots", 85 "tools/xtask", 86 ] 87 resolver = "3" 88 89 [workspace.package] 90 version = "0.1.0-alpha" 91 edition = "2024" 92 rust-version = "1.99.0" 93 license = "MIT OR Apache-2.0" 94 repository = "https://github.com/radrootslabs/lib" 95 homepage = "https://radroots.org" 96 readme = "README.md" 97 authors = ["Tyson Lupul <tyson@radroots.org>"] 98 99 [workspace.metadata.radroots.public-package] 100 version = "0.1.0-alpha" 101 authors = ["Tyson Lupul <tyson@radroots.org>"] 102 readme = "README.md" 103 104 [workspace.lints.rust] 105 unsafe_code = "deny" 106 unexpected_cfgs = { level = "warn", check-cfg = ['cfg(coverage_nightly)'] } 107 108 [workspace.lints.rustdoc] 109 broken_intra_doc_links = "deny" 110 111 [workspace.lints.clippy] 112 dbg_macro = "deny" 113 todo = "deny" 114 unimplemented = "deny" 115 116 [workspace.dependencies] 117 async-trait = { version = "0.1.89" } 118 dto_bindgen = { version = "0.1.0" } 119 dto_bindgen_backend_ts = { version = "0.1.0" } 120 dto_bindgen_core = { version = "0.1.0" } 121 radroots = { path = "crates/radroots", version = "=0.1.0-alpha" } 122 radroots_core_bindings = { path = "crates/core_bindings", version = "=0.1.0-alpha" } 123 radroots_core = { package = "radroots_core", path = "crates/core", version = "=0.1.0-alpha", default-features = false } 124 radroots_domain = { path = "crates/domain", version = "=0.1.0-alpha", default-features = false } 125 radroots_execution = { path = "crates/execution", version = "=0.1.0-alpha", default-features = false } 126 radroots_event = { package = "radroots_event", path = "crates/event", version = "=0.1.0-alpha", default-features = false } 127 radroots_event_codec = { package = "radroots_event_codec", path = "crates/event_codec", version = "=0.1.0-alpha", default-features = false } 128 radroots_event_bindings = { path = "crates/event_bindings", version = "=0.1.0-alpha" } 129 radroots_event_codec_wasm = { path = "crates/event_codec_wasm", version = "=0.1.0-alpha" } 130 radroots_blossom = { package = "radroots_blossom", path = "crates/blossom", version = "=0.1.0-alpha", default-features = false } 131 radroots_identity = { package = "radroots_identity", path = "crates/identity", version = "=0.1.0-alpha", default-features = false } 132 radroots_identity_bindings = { path = "crates/identity_bindings", version = "=0.1.0-alpha" } 133 radroots_nostr = { package = "radroots_nostr", path = "crates/nostr", version = "=0.1.0-alpha", default-features = false } 134 radroots_nostr_connect = { package = "radroots_nostr_connect", path = "crates/nostr_connect", version = "=0.1.0-alpha", default-features = false } 135 radroots_nostrdb = { path = "crates/nostrdb", version = "=0.1.0-alpha", default-features = false } 136 radroots_protocol = { package = "radroots_protocol", path = "crates/protocol", version = "=0.1.0-alpha", default-features = false } 137 radroots_runtime_paths = { path = "crates/runtime_paths", version = "=0.1.0-alpha", default-features = false } 138 radroots_runtime_distribution = { path = "crates/runtime_distribution", version = "=0.1.0-alpha", default-features = false } 139 radroots_runtime_manager = { path = "crates/runtime_manager", version = "=0.1.0-alpha", default-features = false } 140 radroots_service_host = { path = "crates/service_host", version = "=0.1.0-alpha", default-features = false } 141 radroots_service_sqlite = { path = "crates/service_sqlite", version = "=0.1.0-alpha", default-features = false } 142 radroots_transport_nostr = { package = "radroots_transport_nostr", path = "crates/transport_nostr", version = "=0.1.0-alpha", default-features = false } 143 radroots_transport_nostr_native = { package = "radroots_transport_nostr_native", path = "crates/transport_nostr_native", version = "=0.1.0-alpha", default-features = false } 144 radroots_transport_nostr_browser = { path = "crates/transport_nostr_browser", version = "=0.1.0-alpha", default-features = false } 145 radroots_browser = { path = "crates/radroots_browser", version = "=0.1.0-alpha", default-features = false } 146 radroots_ffi = { path = "crates/radroots_ffi", version = "=0.1.0-alpha", default-features = false } 147 radroots_transport_reticulum = { path = "crates/transport_reticulum", version = "=0.1.0-alpha", default-features = false } 148 radroots_simplex_agent_proto = { path = "crates/simplex_agent_proto", version = "=0.1.0-alpha", default-features = false } 149 radroots_simplex_chat_proto = { path = "crates/simplex_chat_proto", version = "=0.1.0-alpha", default-features = false } 150 radroots_simplex_smp_crypto = { path = "crates/simplex_smp_crypto", version = "=0.1.0-alpha", default-features = false } 151 radroots_simplex_smp_proto = { path = "crates/simplex_smp_proto", version = "=0.1.0-alpha", default-features = false } 152 radroots_simplex_smp_transport = { path = "crates/simplex_smp_transport", version = "=0.1.0-alpha", default-features = false } 153 radroots_sql_core = { path = "crates/sql_core", version = "=0.1.0-alpha", default-features = false } 154 radroots_test_fixtures = { path = "crates/test_fixtures", version = "=0.1.0-alpha" } 155 radroots_replica_schema = { path = "crates/replica_schema", version = "=0.1.0-alpha", default-features = false } 156 radroots_replica_schema_bindings = { path = "crates/replica_schema_bindings", version = "=0.1.0-alpha" } 157 radroots_replica_sync = { path = "crates/replica_sync", version = "=0.1.0-alpha", default-features = false } 158 radroots_replica_store = { path = "crates/replica_store", version = "=0.1.0-alpha", default-features = false } 159 radroots_replica_store_wasm = { path = "crates/replica_store_wasm", version = "=0.1.0-alpha" } 160 radroots_replica_sync_wasm = { path = "crates/replica_sync_wasm", version = "=0.1.0-alpha" } 161 radroots_geonames = { package = "radroots_geonames", path = "crates/geonames", version = "=0.1.0-alpha", default-features = false } 162 radroots_secrets = { package = "radroots_secrets", path = "crates/secrets", version = "=0.1.0-alpha", default-features = false } 163 radroots_signing = { package = "radroots_signing", path = "crates/signing", version = "=0.1.0-alpha", default-features = false } 164 radroots_storage = { package = "radroots_storage", path = "crates/storage", version = "=0.1.0-alpha", default-features = false } 165 radroots_storage_sqlite = { package = "radroots_storage_sqlite", path = "crates/storage_sqlite", version = "=0.1.0-alpha", default-features = false } 166 radroots_storage_indexeddb = { path = "crates/storage_indexeddb", version = "=0.1.0-alpha" } 167 radroots_sync = { package = "radroots_sync", path = "crates/sync", version = "=0.1.0-alpha", default-features = false } 168 radroots_trade = { package = "radroots_trade", path = "crates/trade", version = "=0.1.0-alpha", default-features = false } 169 radroots_transport = { package = "radroots_transport", path = "crates/transport", version = "=0.1.0-alpha", default-features = false } 170 radroots_mesh = { path = "crates/mesh", version = "=0.1.0-alpha", default-features = false } 171 radroots_mesh_agent_client = { path = "crates/mesh_agent_client", version = "=0.1.0-alpha", default-features = false } 172 radroots_mesh_agent_proto = { path = "crates/mesh_agent_proto", version = "=0.1.0-alpha", default-features = false } 173 radroots_simplex_app_store = { path = "crates/simplex_app_store", version = "=0.1.0-alpha", default-features = false } 174 radroots_sdk = { path = "crates/sdk", version = "=0.1.0-alpha", default-features = false } 175 radroots_sdk_ffi = { path = "crates/sdk_ffi", version = "=0.1.0-alpha" } 176 radroots_sdk_sql_wasm_runtime = { path = "crates/sdk_sql_wasm_runtime", version = "=0.1.0-alpha" } 177 radroots_trade_bindings = { path = "crates/trade_bindings", version = "=0.1.0-alpha" } 178 179 anyhow = { version = "1" } 180 aes-gcm = { version = "0.10.3", default-features = false, features = [ 181 "aes", 182 "alloc", 183 ] } 184 async-utility = { git = "https://github.com/yukibtc/async-utility", rev = "b323ae0c1c1424b78bf8bb8832b95e86771f1dee", version = "=0.3.2" } 185 web-time = { version = "=1.1.0" } 186 async-wsocket = { version = "0.17" } 187 base64 = { version = "0.22", default-features = false, features = ["alloc"] } 188 bincode = { version = "1.3.3" } 189 bytes = { version = "1" } 190 chacha20poly1305 = { version = "0.10.1", default-features = false, features = [ 191 "alloc", 192 ] } 193 cfg-if = { version = "1" } 194 chrono = { version = "0.4" } 195 clap = { version = "4" } 196 config = { version = "0.14" } 197 directories = { version = "6" } 198 ed25519-dalek = { version = "2.1.1", default-features = false } 199 futures = { version = "0.3" } 200 futures-executor = { version = "0.3" } 201 flate2 = { version = "1" } 202 fs2 = { version = "0.4" } 203 goblin = { version = "0.8.2" } 204 getrandom = { version = "0.2", default-features = false } 205 getrandom_04 = { package = "getrandom", version = "=0.4.2", default-features = false } 206 hkdf = { version = "0.12", default-features = false } 207 hmac = { version = "0.12", default-features = false } 208 http = { version = "1" } 209 http-body-util = { version = "0.1" } 210 hyper = { version = "1", features = ["client", "http1", "server"] } 211 hyper-util = { version = "0.1", features = ["tokio"] } 212 hex = { version = "0.4" } 213 jiff-tzdb = { version = "=0.1.8", default-features = false } 214 jsonschema = { version = "0.48.1", default-features = false } 215 js-sys = { version = "0.3" } 216 mediatype = { version = "0.21", default-features = false } 217 keyring = { version = "3.6.3", default-features = false, features = [ 218 "apple-native", 219 "windows-native", 220 "linux-native-sync-persistent", 221 "vendored", 222 ] } 223 libc = { version = "0.2" } 224 libsqlite3-sys = { version = "=0.37.0", default-features = false } 225 nostr = { version = "0.44.7", default-features = false } 226 nostr-sdk = { git = "https://github.com/nostrdevkit/nostr.git", rev = "de3031aa99986eb29b3f34580355f9a099e4c927", version = "=0.45.4" } 227 num_cpus = { version = "1.17.0" } 228 poly1305 = { version = "0.8", default-features = false } 229 prettyplease = { version = "0.2.37" } 230 proc-macro2 = { version = "1" } 231 quote = { version = "1" } 232 secrecy = { version = "0.10.3" } 233 salsa20 = { version = "0.10.2", default-features = false } 234 semver = { version = "1" } 235 serde = { version = "1", default-features = false, features = [ 236 "derive", 237 "alloc", 238 ] } 239 serde_json = { version = "1", default-features = false, features = ["alloc"] } 240 serde-wasm-bindgen = { version = "0.6" } 241 secp256k1 = { version = "0.29.1", default-features = false, features = [ 242 "alloc", 243 ] } 244 sha2 = { version = "0.10", default-features = false } 245 sha3 = { version = "0.10", default-features = false } 246 sntrup761 = { version = "0.4.0", default-features = false, features = [ 247 "dcap", 248 "ecap", 249 "kgen", 250 ] } 251 subtle = { version = "2.6", default-features = false } 252 syn = { version = "2", features = ["full", "parsing", "visit", "visit-mut"] } 253 sqlx = { version = "0.9.0", default-features = false } 254 sp1-build = { version = "6.2.3" } 255 sp1-sdk = { version = "6.2.3", default-features = false } 256 sp1-zkvm = { version = "6.2.3" } 257 reqwest = { version = "0.12", default-features = false } 258 rustls = { version = "0.23.46", default-features = false, features = [ 259 "ring", 260 "std", 261 ] } 262 rustix = { version = "1", features = ["fs", "process", "std"] } 263 rust_decimal = { version = "1", default-features = false } 264 x25519-dalek = { version = "2", default-features = false, features = [ 265 "static_secrets", 266 ] } 267 x448 = { version = "0.14.0-pre.10", default-features = false, features = [ 268 "static_secrets", 269 ] } 270 sled = { version = "0.34" } 271 tempfile = { version = "3" } 272 tar = { version = "0.4" } 273 thiserror = { version = "1" } 274 tokio = { version = "1.53.3" } 275 tokio-rustls = { version = "0.26.4", default-features = false } 276 tokio-util = { version = "0.7", features = ["rt"] } 277 tokio-tungstenite = { version = "0.28.0", default-features = false, features = [ 278 "connect", 279 "rustls-tls-webpki-roots", 280 ] } 281 toml = { version = "0.8" } 282 tracing = { version = "0.1", default-features = false } 283 tracing-log = { version = "0.2" } 284 unicode-general-category = { version = "=1.1.0" } 285 url = { version = "2" } 286 url_nostd = { package = "url", version = "2", default-features = false } 287 uuid = { version = "1.22.0", features = ["v4", "v7"] } 288 uniffi = { version = "=0.32.2", default-features = false } 289 wasm-bindgen = { version = "0.2" } 290 wasm-bindgen-futures = { version = "0.4" } 291 wasm-bindgen-test = { version = "0.3" } 292 web-sys = { version = "0.3" } 293 webpki-roots = { version = "0.26.11" } 294 walkdir = { version = "2" } 295 x509-parser = { version = "0.17", default-features = false } 296 zstd = { version = "0.13", default-features = false } 297 zeroize = { version = "1", default-features = false } 298 299 [patch.crates-io] 300 # Official Askama repair removes archived basic-toml (RUSTSEC-2026-0374). 301 askama_derive = { git = "https://github.com/askama-rs/askama", rev = "d47daf8767805c0c4dfb456145fc857bfd9c1d2c", version = "=0.16.1" }