Files
xevion.dev/Cargo.toml
Xevion 2a710d584e feat: add connection tarpit for malicious bot traffic
Implements slow-drip response handler for known bot paths (wp-admin, phpmyadmin, etc.) to waste attacker resources. Includes per-IP and global connection limits, configurable delays, and random chunking. Also applies clippy lint fixes across codebase.
2026-01-05 18:19:09 -06:00

28 lines
909 B
TOML

[package]
name = "api"
version = "0.1.0"
edition = "2024"
[dependencies]
aws-config = "1.8.12"
aws-sdk-s3 = "1.119.0"
axum = "0.8.8"
clap = { version = "4.5.54", features = ["derive", "env"] }
dashmap = "6.1.0"
futures = "0.3.31"
include_dir = "0.7.4"
mime_guess = "2.0.5"
nu-ansi-term = "0.50.3"
rand = "0.9.2"
reqwest = { version = "0.13.1", default-features = false, features = ["rustls", "charset", "json", "stream"] }
serde = { version = "1.0.228", features = ["derive"] }
serde_json = "1.0.148"
time = { version = "0.3.44", features = ["formatting", "macros"] }
tokio = { version = "1.49.0", features = ["full"] }
tokio-util = { version = "0.7.18", features = ["io"] }
tower = "0.5"
tower-http = { version = "0.6.8", features = ["trace", "cors", "limit"] }
tracing = "0.1.44"
tracing-subscriber = { version = "0.3.22", features = ["env-filter", "json"] }
ulid = { version = "1", features = ["serde"] }