[package] name = "smart-byte-nostr" version.workspace = true edition.workspace = true license.workspace = true repository.workspace = true authors.workspace = true description = "Nostr adapter for Smart Byte: NIP-01 events with secp256k1 Schnorr, NIP-04/44 encryption, NIP-17 gift-wrap, NIP-19 bech32, NIP-05/11/13/26/65, and a relay client surface." [dependencies] smart-byte-core = { workspace = true } serde = { workspace = true } serde_bytes = { workspace = true } serde_json = "1" thiserror = { workspace = true } data-encoding = { workspace = true } rand = { workspace = true } chrono = { workspace = true } # Crypto secp256k1 = { version = "0.33", features = ["std", "rand", "global-context"] } sha2 = "0.11" hmac = "0.13" hkdf = "0.13" chacha20 = "0.10" # nip04 uses the cipher 0.4 API (BlockEncryptMut / encrypt_padded_vec_mut), which # aes 0.9 + cbc 0.2 (cipher 0.5) removed. Stay on the cipher 0.4 generation. aes = "0.8" cbc = { version = "0.1", features = ["alloc"] } async-trait = "0.1" [dev-dependencies] hex = "0.4" rand = { workspace = true }