mirror of
https://github.com/scsibug/nostr-rs-relay.git
synced 2024-11-09 21:29:06 -05:00
d730bf0c59
A file named `config.toml` can now be used to load the address, port, and some websocket configuration settings. Fixes https://todo.sr.ht/~gheartsfield/nostr-rs-relay/3
24 lines
652 B
TOML
24 lines
652 B
TOML
[package]
|
|
name = "nostr-rs-relay"
|
|
version = "0.1.6"
|
|
edition = "2021"
|
|
|
|
[dependencies]
|
|
log = "^0.4"
|
|
env_logger = "^0.9"
|
|
tokio = { version = "^1.14", features = ["full"] }
|
|
futures = "^0.3"
|
|
futures-util = "^0.3"
|
|
tokio-tungstenite = "^0.16"
|
|
tungstenite = "^0.16"
|
|
thiserror = "^1"
|
|
uuid = { version = "^0.8", features = ["v4"] }
|
|
config = { version = "0.11", features = ["toml"] }
|
|
bitcoin_hashes = { version = "^0.9", features = ["serde"] }
|
|
secp256k1 = { version = "^0.20", features = ["rand", "rand-std", "serde", "bitcoin_hashes"] }
|
|
serde = { version = "^1.0", features = ["derive"] }
|
|
serde_json = "^1.0"
|
|
hex = "^0.4"
|
|
rusqlite = "^0.26"
|
|
lazy_static = "^1.4"
|