mirror of
https://github.com/EFForg/rayhunter.git
synced 2026-04-26 23:49:59 -07:00
Mixing async and sync I/O leads to a multitude of complications, and generally speaking it's much more convenient to stick to one paradigm or the other. Since axum (and many other HTTP servers) use async, and since async is a convenient model for performing operations like "handle an MPSC message or file read, whichever happens first", let's commit to an async interface.
28 lines
632 B
TOML
28 lines
632 B
TOML
[package]
|
|
name = "rayhunter-daemon"
|
|
version = "0.1.0"
|
|
edition = "2021"
|
|
|
|
[[bin]]
|
|
name = "rayhunter-daemon"
|
|
path = "src/main.rs"
|
|
|
|
[dependencies]
|
|
rayhunter = { path = "../lib" }
|
|
toml = "0.8.8"
|
|
serde = { version = "1.0.193", features = ["derive"] }
|
|
tokio = { version = "1.35.1", features = ["full"] }
|
|
axum = "0.7.3"
|
|
futures-core = "0.3.30"
|
|
thiserror = "1.0.52"
|
|
log = "0.4.20"
|
|
env_logger = "0.10.1"
|
|
tokio-util = { version = "0.7.10", features = ["rt"] }
|
|
futures-macro = "0.3.30"
|
|
include_dir = "0.7.3"
|
|
mime_guess = "2.0.4"
|
|
tempdir = "0.3.7"
|
|
chrono = { version = "0.4.31", features = ["serde"] }
|
|
tokio-stream = "0.1.14"
|
|
futures = "0.3.30"
|