lib

Core libraries for Radroots
git clone https://radroots.dev/git/lib.git
Log | Files | Refs | README

Cargo.toml (2153B)


      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 chat = ["radroots_protocol/chat"]
     36 commerce = ["radroots_protocol/commerce"]
     37 artifacts = ["radroots_protocol/chat", "radroots_protocol/listing"]
     38 std = [
     39   "radroots_domain/std",
     40   "radroots_event/std",
     41   "radroots_event_codec/std",
     42   "radroots_identity/std",
     43   "radroots_protocol/std",
     44 ]
     45 serde = [
     46   "dep:serde",
     47   "radroots_event/serde",
     48   "radroots_event_codec/json",
     49   "radroots_identity/serde",
     50   "radroots_protocol/serde",
     51 ]
     52 
     53 [dependencies]
     54 radroots_domain = { workspace = true, default-features = false }
     55 radroots_event = { workspace = true, default-features = false }
     56 radroots_event_codec = { workspace = true, default-features = false }
     57 radroots_identity = { workspace = true, default-features = false }
     58 radroots_protocol = { workspace = true, default-features = false, features = ["nip01", "intent"] }
     59 hex = { version = "0.4", default-features = false, features = ["alloc"] }
     60 sha2 = { workspace = true, default-features = false }
     61 zeroize = { workspace = true, default-features = false, features = ["alloc"] }
     62 serde = { workspace = true, default-features = false, features = [
     63   "alloc",
     64   "derive",
     65 ], optional = true }
     66 
     67 [dev-dependencies]
     68 radroots_blossom = { workspace = true, default-features = false, features = [
     69   "std",
     70 ] }
     71 serde_json = { workspace = true, features = ["std"] }
     72 nostr = { workspace = true, features = ["std", "nip44"] }
     73 
     74 [lints]
     75 workspace = true