Initial draft commit

This commit is contained in:
Daniel D’Aquino
2024-07-10 20:34:09 -07:00
commit e11c636ce3
14 changed files with 2840 additions and 0 deletions

27
Cargo.toml Normal file
View File

@ -0,0 +1,27 @@
[package]
name = "damus-push-notification-relay"
version = "0.1.0"
edition = "2021"
[dependencies]
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
toml = "0.5"
tracing = "0.1.40"
# `bundled` causes us to automatically compile and link in an up to date
# version of SQLite for you. This avoids many common build issues, and
# avoids depending on the version of SQLite on the users system (or your
# system), which may be old or missing. It's the right choice for most
# programs that control their own SQLite databases.
#
# That said, it's not ideal for all scenarios and in particular, generic
# libraries built around `rusqlite` should probably not enable it, which
# is why it is not a default feature -- it could become hard to disable.
rusqlite = { version = "0.31.0", features = ["bundled"] }
chrono = { version = "0.4.38" }
a2 = { version = "0.10.0" }
tokio = { version = "1.38.0", features = ["full"] }
tungstenite = "0.23.0"
nostr = "0.32.1"
log = "0.4"
env_logger = "0.11.3"