[package] name = "gnostr-relay" version = "0.0.4" edition = "2021" authors = ["Greg Heartsfield ", "gnostr "] description = "gnostr:git+nostr protocol relay" readme = "README.md" homepage = "https://gnostr.org" repository = "https://github.com/gnostr-org/gnostr-relay.git" license = "MIT" keywords = ["nostr", "server", "gnostr", "git"] categories = ["network-programming", "web-programming"] [dependencies] clap = { version = "4.0.32", features = ["env", "default", "derive"]} tracing = "0.1.37" tracing-appender = "0.2.2" tracing-subscriber = "0.3.16" tokio = { version = "1", features = ["full", "tracing", "signal"] } prost = "0.11" tonic = "0.8.3" console-subscriber = "0.1.8" futures = "0.3" futures-util = "0.3" tokio-tungstenite = "0.17" tungstenite = "0.17" thiserror = "1" uuid = { version = "1.1.2", features = ["v4"] } config = { version = "0.12", features = ["toml"] } bitcoin_hashes = { version = "0.10", features = ["serde"] } secp256k1 = {version = "0.21", features = ["rand", "rand-std", "serde", "bitcoin_hashes"] } serde = { version = "1.0", features = ["derive"] } serde_json = {version = "1.0", features = ["preserve_order"]} hex = "0.4" rusqlite = { version = "0.26", features = ["limits","bundled","modern_sqlite", "trace"]} r2d2 = "0.8" r2d2_sqlite = "0.19" lazy_static = "1.4" governor = "0.4" nonzero_ext = "0.3" hyper = { version="0.14", features=["client", "server","http1","http2","tcp"] } hyper-rustls = { version = "0.24" } http = { version = "0.2" } parse_duration = "2" rand = "0.8" const_format = "0.2.28" regex = "1" async-trait = "0.1.60" async-std = "1.12.0" sqlx = { version ="0.6.2", features=["runtime-tokio-rustls", "postgres", "chrono"]} chrono = "0.4.23" prometheus = "0.13.3" indicatif = "0.17.3" bech32 = "0.9.1" url = "2.3.1" qrcode = { version = "0.12.0", default-features = false, features = ["svg"] } nostr = { version = "0.18.0", default-features = false, features = ["base", "nip04", "nip19"] } dirs = "5.0.1" [target.'cfg(not(target_env = "msvc"))'.dependencies] tikv-jemallocator = "0.5" log = "0.4" [dev-dependencies] anyhow = "1" [build-dependencies] tonic-build = { version="0.8.3", features = ["prost"] } # The profile that 'cargo dist' will build with [profile.dist] inherits = "release" lto = "thin" # Config for 'cargo dist' [workspace.metadata.dist] # The preferred cargo-dist version to use in CI (Cargo.toml SemVer syntax) cargo-dist-version = "0.14.1" # CI backends to support ci = "github" # The installers to generate for each app installers = ["shell", "powershell", "homebrew"] # A GitHub repo to push Homebrew formulas to tap = "gnostr-org/homebrew-gnostr-org" # Target platforms to build apps for (Rust target-triple syntax) targets = ["aarch64-apple-darwin", "x86_64-apple-darwin", "x86_64-unknown-linux-gnu", "x86_64-unknown-linux-musl", "x86_64-pc-windows-msvc"] # Publish jobs to run in CI publish-jobs = ["homebrew"] # Publish jobs to run in CI pr-run-mode = "plan" # Whether to install an updater program install-updater = true