# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO # # When uploading crates to the registry Cargo will automatically # "normalize" Cargo.toml files for maximal compatibility # with all versions of Cargo and also rewrite `path` dependencies # to registry (e.g., crates.io) dependencies. # # If you are reading this file be aware that the original Cargo.toml # will likely look very different (and much more reasonable). # See Cargo.toml.orig for the original contents. [package] edition = "2021" name = "nostro2" version = "0.1.30" build = false autobins = false autoexamples = false autotests = false autobenches = false description = "Nostro2 is a simple toolset for interacting with the Nostr protocol." homepage = "https://github.com/42Pupusas/NostrO2.git" documentation = "https://docs.rs/nostro2/latest/nostro2/" readme = "README.md" license = "MIT" repository = "https://github.com/42Pupusas/NostrO2.git" [lib] name = "nostro2" crate-type = [ "cdylib", "rlib", ] path = "src/lib.rs" [[test]] name = "main" path = "tests/main.rs" [[test]] name = "main_async" path = "tests/main_async.rs" [dependencies.aes] version = "0.8.4" [dependencies.anyhow] version = "1.0.91" [dependencies.async-channel] version = "2.3.1" [dependencies.base64] version = "0.22.1" [dependencies.bech32] version = "0.11.0" [dependencies.bip39] version = "2.1.0" features = ["spanish"] [dependencies.cbc] version = "0.1.2" features = ["alloc"] [dependencies.chacha20] version = "0.9.1" [dependencies.futures-util] version = "0.3.31" features = [ "sink", "std", ] [dependencies.hex] version = "0.4.3" [dependencies.hkdf] version = "0.12.4" [dependencies.hmac] version = "0.12.1" [dependencies.libaes] version = "0.7.0" [dependencies.rand] version = "0.8.5" [dependencies.secp256k1] version = "0.30.0" features = ["global-context"] [dependencies.serde] version = "1.0" features = ["derive"] [dependencies.serde_json] version = "1.0" [dependencies.sha2] version = "0.10.8" [dependencies.url] version = "2.5.2" [target.'cfg(not(target_arch = "wasm32"))'.dependencies.rustls] version = "0.23.15" features = [ "ring", "std", "tls12", ] default-features = false [target.'cfg(not(target_arch = "wasm32"))'.dependencies.tokio] version = "1.41.0" features = [ "test-util", "macros", "net", ] [target.'cfg(not(target_arch = "wasm32"))'.dependencies.tokio-tungstenite] version = "0.24.0" features = ["rustls-tls-native-roots"] [target.'cfg(target_arch = "wasm32")'.dependencies.ring] version = "0.17.8" features = ["wasm32_unknown_unknown_js"] [target.'cfg(target_arch = "wasm32")'.dependencies.rustls-pki-types] version = "1.10.0" features = ["web"] [target.'cfg(target_arch = "wasm32")'.dependencies.serde-wasm-bindgen] version = "0.6.5" [target.'cfg(target_arch = "wasm32")'.dependencies.tokio] version = "1.41.0" features = [ "sync", "macros", ] [target.'cfg(target_arch = "wasm32")'.dependencies.tokio-tungstenite-wasm] version = "0.3.1" features = ["rustls-tls-webpki-roots"] [target.'cfg(target_arch = "wasm32")'.dependencies.wasm-bindgen] version = "0.2.95" [target.'cfg(target_arch = "wasm32")'.dependencies.wasm-bindgen-futures] version = "0.4.45" [target.'cfg(target_arch = "wasm32")'.dependencies.wasm-bindgen-test] version = "0.3.45" [target.'cfg(target_arch = "wasm32")'.dependencies.web-time] version = "1.1.0"