mirror of
https://github.com/Blah-IM/blahrs.git
synced 2025-05-01 08:41:09 +00:00

This decouples SQLs from handler logic, makes it easier for auditing and caching. It also enables the possibility to switch or support multiple database backends.
52 lines
1.4 KiB
TOML
52 lines
1.4 KiB
TOML
[package]
|
|
name = "blahd"
|
|
version = "0.0.0"
|
|
edition = "2021"
|
|
|
|
[[bench]]
|
|
name = "register-pow"
|
|
harness = false
|
|
|
|
[dependencies]
|
|
anyhow = "1"
|
|
axum = { version = "0.7", features = ["ws"] }
|
|
axum-extra = "0.9"
|
|
clap = { version = "4", features = ["derive"] }
|
|
ed25519-dalek = "2"
|
|
futures-util = "0.3"
|
|
hex = { version = "0.4", features = ["serde"] }
|
|
http-body-util = "0.1"
|
|
humantime = "2"
|
|
parking_lot = "0.12" # Maybe no better performance, just that we hate poisoning. ¯\_(ツ)_/¯
|
|
rand = "0.8"
|
|
reqwest = "0.12"
|
|
rusqlite = { version = "0.32", features = ["rusqlite-macros"] }
|
|
rustix = { version = "0.38", features = ["net"] }
|
|
sd-notify = "0.4"
|
|
serde = { version = "1", features = ["derive"] }
|
|
serde-constant = "0.1"
|
|
serde-inline-default = "0.2.0"
|
|
serde_jcs = "0.1"
|
|
serde_json = "1"
|
|
serde_urlencoded = "0.7.1"
|
|
sha2 = "0.10"
|
|
tokio = { version = "1", features = ["macros", "rt-multi-thread", "sync", "time"] }
|
|
tokio-stream = { version = "0.1", features = ["sync"] }
|
|
toml = "0.8"
|
|
tower-http = { version = "0.5", features = ["cors", "limit"] }
|
|
tracing = "0.1"
|
|
tracing-subscriber = "0.3"
|
|
url = { version = "2.5.2", features = ["serde"] }
|
|
|
|
blah-types = { path = "../blah-types", features = ["rusqlite"] }
|
|
|
|
[dev-dependencies]
|
|
criterion = "0.5"
|
|
nix = { version = "0.29.0", features = ["fs", "process", "signal"] }
|
|
reqwest = { version = "0.12.7", features = ["json"] }
|
|
rstest = { version = "0.22.0", default-features = false }
|
|
scopeguard = "1.2.0"
|
|
tempfile = "3.12.0"
|
|
|
|
[lints]
|
|
workspace = true
|