# 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 = "gnostr_rs" version = "0.0.7" authors = [ "gnostr ", "Thomas Tastet", ] build = false autobins = false autoexamples = false autotests = false autobenches = false description = "git+nostr workflow utility" homepage = "https://github.com/gnostr-org/gnostr_rs" documentation = "https://docs.rs/nostr_rust" readme = "README.md" keywords = [ "nostr", "gnostr", "protocol", "encryption", "decryption", ] categories = ["api-bindings"] license = "MIT" repository = "https://github.com/gnostr-org/gnostr_rs" [profile.dist] lto = "thin" inherits = "release" [lib] name = "gnostr_rs" path = "src/lib.rs" [[bin]] name = "gnostr_dashboard" path = "src/bin/gnostr_dashboard.rs" doc = true [[bin]] name = "gnostr_rs" path = "src/bin/gnostr_rs.rs" doc = true [dependencies.aes] version = "0.8" [dependencies.base64] version = "0.21" [dependencies.bech32] version = "0.9" [dependencies.cbc] version = "0.1" features = ["alloc"] [dependencies.futures] version = "0.3" optional = true [dependencies.futures-util] version = "0.3" optional = true [dependencies.gnostr-bins] version = "0.0.40" [dependencies.gnostr-types] version = "0.7.1-unstable" [dependencies.hex] version = "0.4" [dependencies.rand] version = "0.8" [dependencies.reqwest] version = "0.11" features = [ "json", "rustls-tls-webpki-roots", ] default-features = false [dependencies.secp256k1] version = "0.26" features = [ "bitcoin_hashes", "global-context", "rand-std", ] [dependencies.serde] version = "1" features = ["derive"] default-features = false [dependencies.serde_derive] version = "1" [dependencies.serde_json] version = "1" features = ["std"] default-features = false [dependencies.sha256] version = "1" [dependencies.thiserror] version = "1" [dependencies.tokio] version = "1.24" features = [ "macros", "rt-multi-thread", ] optional = true [dependencies.tokio-tungstenite] version = "0.18" features = [ "handshake", "rustls-tls-webpki-roots", ] default-features = true [dependencies.tungstenite] version = "0.18" features = [ "handshake", "rustls-tls-webpki-roots", ] default-features = false [dependencies.url] version = "2.3" [features] async = [ "futures", "tokio", "futures-util", ] default = ["sync"] sync = ["reqwest/blocking"]