2021-12-05 09:42:28 -05:00
|
|
|
[package]
|
|
|
|
name = "nostr-rs-relay"
|
2023-02-13 10:34:30 -05:00
|
|
|
version = "0.8.4"
|
2021-12-05 09:42:28 -05:00
|
|
|
edition = "2021"
|
2022-11-19 08:30:50 -05:00
|
|
|
authors = ["Greg Heartsfield <scsibug@imap.cc>"]
|
|
|
|
description = "A relay implementation for the Nostr protocol"
|
|
|
|
readme = "README.md"
|
|
|
|
homepage = "https://sr.ht/~gheartsfield/nostr-rs-relay/"
|
|
|
|
repository = "https://git.sr.ht/~gheartsfield/nostr-rs-relay"
|
|
|
|
license = "MIT"
|
|
|
|
keywords = ["nostr", "server"]
|
|
|
|
categories = ["network-programming", "web-programming"]
|
2021-12-05 09:42:28 -05:00
|
|
|
|
|
|
|
[dependencies]
|
2023-01-05 08:47:34 -05:00
|
|
|
clap = { version = "4.0.32", features = ["env", "default", "derive"]}
|
2022-09-28 08:19:59 -04:00
|
|
|
tracing = "0.1.36"
|
|
|
|
tracing-subscriber = "0.2.0"
|
|
|
|
tokio = { version = "1", features = ["full", "tracing", "signal"] }
|
2023-02-11 14:26:08 -05:00
|
|
|
prost = "0.11"
|
|
|
|
tonic = "0.8.3"
|
2022-09-11 13:44:45 -04:00
|
|
|
console-subscriber = "0.1.8"
|
2022-09-02 13:35:02 -04:00
|
|
|
futures = "0.3"
|
|
|
|
futures-util = "0.3"
|
|
|
|
tokio-tungstenite = "0.17"
|
|
|
|
tungstenite = "0.17"
|
|
|
|
thiserror = "1"
|
2022-09-02 13:37:11 -04:00
|
|
|
uuid = { version = "1.1.2", features = ["v4"] }
|
2022-09-02 13:35:02 -04:00
|
|
|
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"
|
2022-12-25 11:42:09 -05:00
|
|
|
rusqlite = { version = "0.26", features = ["limits","bundled","modern_sqlite", "trace"]}
|
2022-09-02 13:35:02 -04:00
|
|
|
r2d2 = "0.8"
|
|
|
|
r2d2_sqlite = "0.19"
|
|
|
|
lazy_static = "1.4"
|
|
|
|
governor = "0.4"
|
|
|
|
nonzero_ext = "0.3"
|
2022-02-12 10:29:25 -05:00
|
|
|
hyper = { version="0.14", features=["client", "server","http1","http2","tcp"] }
|
2022-09-02 13:35:02 -04:00
|
|
|
hyper-tls = "0.5"
|
|
|
|
http = { version = "0.2" }
|
|
|
|
parse_duration = "2"
|
|
|
|
rand = "0.8"
|
2022-10-09 09:24:01 -04:00
|
|
|
const_format = "0.2.28"
|
2022-10-16 16:25:06 -04:00
|
|
|
regex = "1"
|
2023-01-22 10:49:49 -05:00
|
|
|
async-trait = "0.1.60"
|
2023-01-22 17:26:54 -05:00
|
|
|
async-std = "1.12.0"
|
|
|
|
sqlx = { version ="0.6.2", features=["runtime-tokio-rustls", "postgres", "chrono"]}
|
|
|
|
chrono = "0.4.23"
|
2023-01-22 12:08:12 -05:00
|
|
|
prometheus = "0.13.3"
|
2023-01-27 20:02:19 -05:00
|
|
|
indicatif = "0.17.3"
|
2022-12-21 14:44:50 -05:00
|
|
|
bech32 = "0.9.1"
|
2022-09-17 15:36:05 -04:00
|
|
|
|
|
|
|
[dev-dependencies]
|
|
|
|
anyhow = "1"
|
2023-02-11 14:26:08 -05:00
|
|
|
|
|
|
|
[build-dependencies]
|
|
|
|
tonic-build = { version="0.8.3", features = ["prost"] }
|