# 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.2.2" 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" [dependencies.anyhow] version = "1.0.94" [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.chrono] version = "0.4.38" [dependencies.futures-util] version = "0.3.31" features = [ "sink", "std", ] [dependencies.hkdf] version = "0.12.4" [dependencies.hmac] version = "0.12.1" [dependencies.libaes] version = "0.7.0" [dependencies.secp256k1] version = "0.30.0" features = [ "rand", "std", "alloc", ] [dependencies.serde] version = "1.0.215" features = ["derive"] [dependencies.serde_json] version = "1.0.133" [dependencies.sha2] version = "0.10.8" [dependencies.tracing] version = "0.1.40" [dependencies.tracing-subscriber] version = "0.3.18" [dev-dependencies.tokio] version = "1.41.0" features = [ "test-util", "macros", "rt", "sync", ] [dev-dependencies.tracing-test] version = "0.2.5" [dev-dependencies.wasm-bindgen-futures] version = "0.4.45" [dev-dependencies.wasm-bindgen-test] version = "0.3.45" [target.'cfg(not(target_arch = "wasm32"))'.dependencies.rustls] version = "0.23.19" features = [ "ring", "std", "tls12", ] default-features = false [target.'cfg(not(target_arch = "wasm32"))'.dependencies.tokio] version = "1.42.0" features = [ "macros", "rt", "sync", ] [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.serde-wasm-bindgen] version = "0.6.5" [target.'cfg(target_arch = "wasm32")'.dependencies.tokio] version = "1.42.0" features = [ "macros", "sync", ] [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-futures] version = "0.4.45"