mirror of
https://github.com/EFForg/rayhunter.git
synced 2026-04-26 15:39:59 -07:00
See https://github.com/EFForg/rayhunter/issues/334 Severity levels low, medium, high are now exposed to the UI in form of dotted, dashed and solid lines. The line on the UI represents the highest-so-far severity seen. Originally this was intended to be represented by Yellow/Orange/Red, but this would mean yet another divergence for colorblind mode. This is colorblind-friendly by default (I think...) As part of this, simplify EventType so that it becomes a flat "level" enum without nested variants. There is also a new debug endpoint that allows one to overwrite the display level directly for testing.
33 lines
1.2 KiB
TOML
33 lines
1.2 KiB
TOML
[package]
|
|
name = "rayhunter-daemon"
|
|
version = "0.5.1"
|
|
edition = "2024"
|
|
rust-version = "1.88.0"
|
|
|
|
[dependencies]
|
|
rayhunter = { path = "../lib" }
|
|
toml = "0.8.8"
|
|
serde = { version = "1.0.193", features = ["derive"] }
|
|
tokio = { version = "1.44.2", default-features = false, features = ["fs", "signal", "process", "rt"] }
|
|
axum = { version = "0.8", default-features = false, features = ["http1", "tokio", "json"] }
|
|
thiserror = "1.0.52"
|
|
libc = "0.2.150"
|
|
log = "0.4.20"
|
|
env_logger = { version = "0.11", default-features = false }
|
|
tokio-util = { version = "0.7.10", features = ["rt", "io", "compat"] }
|
|
futures-macro = "0.3.30"
|
|
include_dir = "0.7.3"
|
|
chrono = { version = "0.4.31", features = ["serde"] }
|
|
tokio-stream = { version = "0.1.14", default-features = false, features = ["io-util"] }
|
|
futures = { version = "0.3.30", default-features = false }
|
|
serde_json = "1.0.114"
|
|
image = { version = "0.25.1", default-features = false, features = ["png", "gif"] }
|
|
tempfile = "3.10.1"
|
|
async_zip = { version = "0.0.17", features = ["tokio"] }
|
|
anyhow = "1.0.98"
|
|
reqwest = { version = "0.12.20", default-features = false, features = [
|
|
"rustls-tls-webpki-roots-no-provider",
|
|
] }
|
|
rustls-rustcrypto = "0.0.2-alpha"
|
|
async-trait = "0.1.88"
|