Cargo.toml (1564B)
1 [package] 2 name = "radroots_identity" 3 publish = ["crates-io"] 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 = "Identity models, encrypted file storage, and profile utilities" 10 repository.workspace = true 11 homepage.workspace = true 12 documentation = "https://docs.rs/radroots_identity" 13 readme = "README" 14 15 [features] 16 default = ["std", "profile", "json-file", "nip49"] 17 std = [ 18 "dep:radroots_protected_store", 19 "dep:radroots_runtime_paths", 20 "dep:radroots_secret_vault", 21 ] 22 profile = ["dep:radroots_events"] 23 json-file = ["std", "dep:radroots_runtime"] 24 nip49 = ["std", "nostr/nip49"] 25 secrecy = ["dep:secrecy"] 26 zeroize = ["dep:zeroize"] 27 28 [dependencies] 29 radroots_runtime = { workspace = true, optional = true } 30 radroots_protected_store = { workspace = true, optional = true, features = [ 31 "std", 32 ] } 33 radroots_runtime_paths = { workspace = true, optional = true } 34 radroots_secret_vault = { workspace = true, optional = true, features = [ 35 "std", 36 ] } 37 radroots_events = { workspace = true, optional = true, default-features = false, features = [ 38 "serde", 39 ] } 40 nostr = { workspace = true } 41 secrecy = { workspace = true, optional = true } 42 serde = { workspace = true } 43 serde_json = { workspace = true } 44 thiserror = { workspace = true } 45 tracing = { workspace = true } 46 zeroize = { workspace = true, optional = true } 47 48 [dev-dependencies] 49 tempfile = { workspace = true } 50 51 [lints.rust] 52 unexpected_cfgs = { level = "warn", check-cfg = ['cfg(coverage_nightly)'] }