Cargo.toml (4036B)
1 [package] 2 name = "rhi" 3 version = "0.1.0" 4 edition = "2024" 5 authors = ["Radroots Authors"] 6 rust-version = "1.97.1" 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 = "qualified" 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 = "055096853fca95e15d0f813d33a14aca13be3881", version = "=0.1.0-alpha", features = ["serde"] } 56 radroots_event_codec = { git = "https://github.com/radrootslabs/lib", rev = "055096853fca95e15d0f813d33a14aca13be3881", version = "=0.1.0-alpha", features = ["json"] } 57 radroots_nostr = { git = "https://github.com/radrootslabs/lib", rev = "055096853fca95e15d0f813d33a14aca13be3881", version = "=0.1.0-alpha", features = ["events"] } 58 radroots_protocol = { git = "https://github.com/radrootslabs/lib", rev = "055096853fca95e15d0f813d33a14aca13be3881", version = "=0.1.0-alpha" } 59 radroots_runtime_paths = { git = "https://github.com/radrootslabs/lib", rev = "055096853fca95e15d0f813d33a14aca13be3881", version = "=0.1.0-alpha" } 60 radroots_service_host = { git = "https://github.com/radrootslabs/lib", rev = "055096853fca95e15d0f813d33a14aca13be3881", version = "=0.1.0-alpha" } 61 radroots_service_sqlite = { git = "https://github.com/radrootslabs/lib", rev = "055096853fca95e15d0f813d33a14aca13be3881", version = "=0.1.0-alpha" } 62 radroots_storage = { git = "https://github.com/radrootslabs/lib", rev = "055096853fca95e15d0f813d33a14aca13be3881", version = "=0.1.0-alpha", default-features = false } 63 radroots_transport = { git = "https://github.com/radrootslabs/lib", rev = "055096853fca95e15d0f813d33a14aca13be3881", version = "=0.1.0-alpha", default-features = false, features = ["std"] } 64 radroots_transport_nostr = { git = "https://github.com/radrootslabs/lib", rev = "055096853fca95e15d0f813d33a14aca13be3881", version = "=0.1.0-alpha" } 65 radroots_secrets = { git = "https://github.com/radrootslabs/lib", rev = "055096853fca95e15d0f813d33a14aca13be3881", version = "=0.1.0-alpha" } 66 radroots_trade = { git = "https://github.com/radrootslabs/lib", rev = "055096853fca95e15d0f813d33a14aca13be3881", version = "=0.1.0-alpha" } 67 68 chacha20poly1305 = { version = "0.10" } 69 clap = { version = "4", features = ["derive"] } 70 futures-executor = { version = "0.3" } 71 hmac = { version = "0.12" } 72 jsonschema = { version = "0.48.1", default-features = false } 73 nostr = { version = "0.44.7" } 74 rustix = { version = "1", features = ["fs", "process", "std"] } 75 serde = { version = "1", default-features = false, features = ["derive"] } 76 serde_json = { version = "1", default-features = false, features = ["raw_value"] } 77 sha2 = { version = "0.10" } 78 sqlx = { version = "0.9.0", default-features = false, features = ["sqlite-bundled"] } 79 thiserror = { version = "2" } 80 tokio = { version = "1", default-features = false, features = ["io-util", "macros", "net", "rt-multi-thread", "signal", "sync", "time"] } 81 tempfile = { version = "3" } 82 toml = { version = "0.8" } 83 url = "2" 84 zeroize = { version = "1" } 85 86 [dev-dependencies] 87 tungstenite = "0.26" 88 89 [profile.release] 90 lto = "thin" 91 codegen-units = 1 92 overflow-checks = true 93 strip = "symbols" 94 panic = "unwind"