Cargo.toml (1799B)
1 [package] 2 name = "radroots_signing" 3 description = "Signing abstractions and authorization policy for Radroots" 4 version = "0.1.0-alpha" 5 edition.workspace = true 6 rust-version.workspace = true 7 license.workspace = true 8 repository.workspace = true 9 homepage.workspace = true 10 authors.workspace = true 11 readme = "README.md" 12 documentation = "https://docs.rs/radroots_signing" 13 publish = ["crates-io"] 14 keywords = ["radroots", "signing", "nostr", "authorization"] 15 categories = ["cryptography", "no-std"] 16 include = [ 17 "src/**", 18 "tests/**", 19 "!tests/package_boundary.rs", 20 "examples/**", 21 "Cargo.toml", 22 "README.md", 23 "LICENSE-APACHE", 24 "LICENSE-MIT", 25 ] 26 27 [package.metadata.docs.rs] 28 features = ["std", "serde"] 29 30 [lib] 31 name = "radroots_signing" 32 33 [features] 34 default = ["std", "serde"] 35 std = [ 36 "radroots_event/std", 37 "radroots_event_codec/std", 38 "radroots_identity/std", 39 "radroots_protocol/std", 40 ] 41 serde = [ 42 "dep:serde", 43 "radroots_event/serde", 44 "radroots_event_codec/json", 45 "radroots_identity/serde", 46 "radroots_protocol/serde", 47 ] 48 49 [dependencies] 50 radroots_event = { workspace = true, default-features = false } 51 radroots_event_codec = { workspace = true, default-features = false } 52 radroots_identity = { workspace = true, default-features = false } 53 radroots_protocol = { workspace = true, default-features = false } 54 hex = { version = "0.4", default-features = false, features = ["alloc"] } 55 sha2 = { workspace = true, default-features = false } 56 serde = { workspace = true, default-features = false, features = [ 57 "alloc", 58 "derive", 59 ], optional = true } 60 61 [dev-dependencies] 62 radroots_blossom = { workspace = true, default-features = false, features = [ 63 "std", 64 ] } 65 serde_json = { workspace = true, features = ["std"] } 66 nostr = { workspace = true, features = ["std"] } 67 68 [lints] 69 workspace = true