myc

Self-custodial remote signer for Radroots apps
git clone https://radroots.dev/git/myc.git
Log | Files | Refs | README | LICENSE

Cargo.toml (3754B)


      1 [package]
      2 name = "myc"
      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 NIP-46 remote signer for delegated Nostr accounts"
      9 repository = "https://github.com/radrootslabs/myc"
     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 = "myc"
     20 host_feature_profile = "service-host"
     21 nix_material = "qualified"
     22 config_contract_version = 1
     23 state_contract_version = 12
     24 admin_contract_version = 1
     25 status_contract_version = 1
     26 provider_contract_version = 1
     27 
     28 [workspace.metadata.radroots.service_release]
     29 service = "myc"
     30 service_package = "myc"
     31 binary_name = "myc"
     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 [lints]
     47 workspace = true
     48 
     49 [features]
     50 default = ["service-host"]
     51 service-host = []
     52 
     53 [dependencies]
     54 base64 = "0.22"
     55 chacha20poly1305 = "0.10"
     56 clap = { version = "4.5", features = ["derive"] }
     57 futures-executor = "0.3"
     58 hex = "0.4"
     59 jsonschema = { version = "0.48.1", default-features = false }
     60 nostr = { version = "0.44.2", features = ["nip04", "nip44", "nip46", "nip49"] }
     61 radroots_identity = { git = "https://github.com/radrootslabs/lib", rev = "055096853fca95e15d0f813d33a14aca13be3881", version = "=0.1.0-alpha" }
     62 radroots_nostr = { git = "https://github.com/radrootslabs/lib", rev = "055096853fca95e15d0f813d33a14aca13be3881", version = "=0.1.0-alpha", features = ["events"] }
     63 radroots_nostr_connect = { git = "https://github.com/radrootslabs/lib", rev = "055096853fca95e15d0f813d33a14aca13be3881", version = "=0.1.0-alpha" }
     64 radroots_event_codec = { git = "https://github.com/radrootslabs/lib", rev = "055096853fca95e15d0f813d33a14aca13be3881", version = "=0.1.0-alpha", features = ["json"] }
     65 radroots_runtime_paths = { git = "https://github.com/radrootslabs/lib", rev = "055096853fca95e15d0f813d33a14aca13be3881", version = "=0.1.0-alpha" }
     66 radroots_service_host = { git = "https://github.com/radrootslabs/lib", rev = "055096853fca95e15d0f813d33a14aca13be3881", version = "=0.1.0-alpha" }
     67 radroots_service_sqlite = { git = "https://github.com/radrootslabs/lib", rev = "055096853fca95e15d0f813d33a14aca13be3881", version = "=0.1.0-alpha" }
     68 radroots_secrets = { git = "https://github.com/radrootslabs/lib", rev = "055096853fca95e15d0f813d33a14aca13be3881", version = "=0.1.0-alpha", features = ["std"] }
     69 radroots_storage = { git = "https://github.com/radrootslabs/lib", rev = "055096853fca95e15d0f813d33a14aca13be3881", version = "=0.1.0-alpha", default-features = false }
     70 radroots_transport = { git = "https://github.com/radrootslabs/lib", rev = "055096853fca95e15d0f813d33a14aca13be3881", version = "=0.1.0-alpha", default-features = false }
     71 radroots_transport_nostr = { git = "https://github.com/radrootslabs/lib", rev = "055096853fca95e15d0f813d33a14aca13be3881", version = "=0.1.0-alpha" }
     72 serde = { version = "1.0", features = ["derive"] }
     73 serde_json = { version = "1.0", features = ["raw_value"] }
     74 sha2 = "0.10"
     75 sqlx = { version = "0.9.0", default-features = false, features = ["derive", "sqlite-bundled"] }
     76 rustix = { version = "1", features = ["fs", "process", "std"] }
     77 tokio = { version = "1.48", default-features = false, features = ["io-util", "macros", "net", "rt-multi-thread", "signal", "sync", "time"] }
     78 toml = "0.8"
     79 url = "2.5"
     80 zeroize = "1.8"
     81 
     82 [dev-dependencies]
     83 tempfile = "3.17"
     84 
     85 [profile.release]
     86 lto = "thin"
     87 codegen-units = 1
     88 overflow-checks = true
     89 strip = "symbols"
     90 panic = "unwind"