# 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 = "nostr-rs-relay" version = "0.8.12" authors = ["Greg Heartsfield "] description = "A relay implementation for the Nostr protocol" homepage = "https://sr.ht/~gheartsfield/nostr-rs-relay/" readme = "README.md" keywords = [ "nostr", "server", ] categories = [ "network-programming", "web-programming", ] license = "MIT" repository = "https://git.sr.ht/~gheartsfield/nostr-rs-relay" [dependencies.async-std] version = "1.12.0" [dependencies.async-trait] version = "0.1.60" [dependencies.bech32] version = "0.9.1" [dependencies.bitcoin_hashes] version = "0.10" features = ["serde"] [dependencies.chrono] version = "0.4.23" [dependencies.clap] version = "4.0.32" features = [ "env", "default", "derive", ] [dependencies.config] version = "0.12" features = ["toml"] [dependencies.console-subscriber] version = "0.1.8" [dependencies.const_format] version = "0.2.28" [dependencies.futures] version = "0.3" [dependencies.futures-util] version = "0.3" [dependencies.governor] version = "0.4" [dependencies.hex] version = "0.4" [dependencies.http] version = "0.2" [dependencies.hyper] version = "0.14" features = [ "client", "server", "http1", "http2", "tcp", ] [dependencies.hyper-tls] version = "0.5" [dependencies.indicatif] version = "0.17.3" [dependencies.lazy_static] version = "1.4" [dependencies.nonzero_ext] version = "0.3" [dependencies.nostr] version = "0.18.0" features = [ "base", "nip04", "nip19", ] default-features = false [dependencies.parse_duration] version = "2" [dependencies.prometheus] version = "0.13.3" [dependencies.prost] version = "0.11" [dependencies.qrcode] version = "0.12.0" features = ["svg"] default-features = false [dependencies.r2d2] version = "0.8" [dependencies.r2d2_sqlite] version = "0.19" [dependencies.rand] version = "0.8" [dependencies.regex] version = "1" [dependencies.rusqlite] version = "0.26" features = [ "limits", "bundled", "modern_sqlite", "trace", ] [dependencies.secp256k1] version = "0.21" features = [ "rand", "rand-std", "serde", "bitcoin_hashes", ] [dependencies.serde] version = "1.0" features = ["derive"] [dependencies.serde_json] version = "1.0" features = ["preserve_order"] [dependencies.sqlx] version = "0.6.2" features = [ "runtime-tokio-rustls", "postgres", "chrono", ] [dependencies.thiserror] version = "1" [dependencies.tokio] version = "1" features = [ "full", "tracing", "signal", ] [dependencies.tokio-tungstenite] version = "0.17" [dependencies.tonic] version = "0.8.3" [dependencies.tracing] version = "0.1.37" [dependencies.tracing-appender] version = "0.2.2" [dependencies.tracing-subscriber] version = "0.3.16" [dependencies.tungstenite] version = "0.17" [dependencies.url] version = "2.3.1" [dependencies.uuid] version = "1.1.2" features = ["v4"] [dev-dependencies.anyhow] version = "1" [build-dependencies.tonic-build] version = "0.8.3" features = ["prost"] [target."cfg(not(target_env = \"msvc\"))".dependencies.log] version = "0.4" [target."cfg(not(target_env = \"msvc\"))".dependencies.tikv-jemallocator] version = "0.5"