Cargo.toml (4195B)
1 [package] 2 name = "rhi" 3 version = "0.1.0" 4 edition = "2024" 5 authors = ["Radroots Authors"] 6 rust-version = "1.99.0" 7 license = "AGPL-3.0-or-later" 8 description = "Radroots evidence reconciliation and attestation service" 9 repository = "https://github.com/radrootslabs/rhi" 10 readme = "README" 11 publish = false 12 13 [workspace] 14 resolver = "3" 15 members = [".", "tools/xtask"] 16 default-members = ["."] 17 18 [workspace.metadata.radroots.service_source_lock] 19 service = "rhi" 20 host_feature_profile = "service-host" 21 nix_material = "bound" 22 config_contract_version = 1 23 state_contract_version = 11 24 admin_contract_version = 1 25 status_contract_version = 1 26 provider_contract_version = 1 27 28 [workspace.metadata.radroots.service_release] 29 service = "rhi" 30 service_package = "rhi" 31 binary_name = "rhi" 32 version = "0.1.0" 33 34 [workspace.lints.rust] 35 unsafe_code = "deny" 36 unexpected_cfgs = { level = "warn", check-cfg = ['cfg(coverage_nightly)'] } 37 38 [workspace.lints.rustdoc] 39 broken_intra_doc_links = "deny" 40 41 [workspace.lints.clippy] 42 dbg_macro = "deny" 43 todo = "deny" 44 unimplemented = "deny" 45 46 [features] 47 default = ["service-host"] 48 service-host = [] 49 50 [lints] 51 workspace = true 52 53 [dependencies] 54 base64 = "0.22" 55 radroots_event = { git = "https://github.com/radrootslabs/lib", rev = "e55c1749902811732167a2ce5c099e22e964624f", version = "=0.1.0-alpha", features = ["serde"] } 56 radroots_event_codec = { git = "https://github.com/radrootslabs/lib", rev = "e55c1749902811732167a2ce5c099e22e964624f", version = "=0.1.0-alpha", features = ["json"] } 57 radroots_nostr = { git = "https://github.com/radrootslabs/lib", rev = "e55c1749902811732167a2ce5c099e22e964624f", version = "=0.1.0-alpha", features = ["events"] } 58 radroots_protocol = { git = "https://github.com/radrootslabs/lib", rev = "e55c1749902811732167a2ce5c099e22e964624f", version = "=0.1.0-alpha" } 59 radroots_runtime_paths = { git = "https://github.com/radrootslabs/lib", rev = "e55c1749902811732167a2ce5c099e22e964624f", version = "=0.1.0-alpha" } 60 radroots_service_host = { git = "https://github.com/radrootslabs/lib", rev = "e55c1749902811732167a2ce5c099e22e964624f", version = "=0.1.0-alpha" } 61 radroots_service_sqlite = { git = "https://github.com/radrootslabs/lib", rev = "e55c1749902811732167a2ce5c099e22e964624f", version = "=0.1.0-alpha" } 62 radroots_storage = { git = "https://github.com/radrootslabs/lib", rev = "e55c1749902811732167a2ce5c099e22e964624f", version = "=0.1.0-alpha", default-features = false } 63 radroots_transport = { git = "https://github.com/radrootslabs/lib", rev = "e55c1749902811732167a2ce5c099e22e964624f", version = "=0.1.0-alpha", default-features = false, features = ["std"] } 64 radroots_transport_nostr = { git = "https://github.com/radrootslabs/lib", rev = "e55c1749902811732167a2ce5c099e22e964624f", version = "=0.1.0-alpha" } 65 radroots_transport_nostr_native = { git = "https://github.com/radrootslabs/lib", rev = "e55c1749902811732167a2ce5c099e22e964624f", version = "=0.1.0-alpha" } 66 radroots_secrets = { git = "https://github.com/radrootslabs/lib", rev = "e55c1749902811732167a2ce5c099e22e964624f", version = "=0.1.0-alpha" } 67 radroots_trade = { git = "https://github.com/radrootslabs/lib", rev = "e55c1749902811732167a2ce5c099e22e964624f", version = "=0.1.0-alpha" } 68 69 chacha20poly1305 = { version = "0.10" } 70 clap = { version = "4", features = ["derive"] } 71 futures-executor = { version = "0.3" } 72 hmac = { version = "0.12" } 73 jsonschema = { version = "0.48.1", default-features = false } 74 nostr = { version = "0.44.7" } 75 rustix = { version = "1", features = ["fs", "process", "std"] } 76 serde = { version = "1", default-features = false, features = ["derive"] } 77 serde_json = { version = "1", default-features = false, features = ["raw_value"] } 78 sha2 = { version = "0.10" } 79 sqlx = { version = "0.9.0", default-features = false, features = ["sqlite-bundled"] } 80 thiserror = { version = "2" } 81 tokio = { version = "1.53.3", default-features = false, features = ["io-util", "macros", "net", "rt-multi-thread", "signal", "sync", "time"] } 82 tempfile = { version = "3" } 83 toml = { version = "0.8" } 84 url = "2" 85 zeroize = { version = "1" } 86 87 [dev-dependencies] 88 tungstenite = "0.26" 89 90 [profile.release] 91 lto = "thin" 92 codegen-units = 1 93 overflow-checks = true 94 strip = "symbols" 95 panic = "unwind"