mirror of
https://github.com/mrvasil/ctf-ad-mirror-tool-rust.git
synced 2026-10-23 14:31:02 +00:00
40 lines
1.0 KiB
TOML
40 lines
1.0 KiB
TOML
[package]
|
|
name = "mirror-tool"
|
|
version = "0.1.0"
|
|
edition = "2024"
|
|
rust-version = "1.85"
|
|
description = "Async TCP traffic mirror and ForcAD-aware upstream router"
|
|
license = "MIT"
|
|
|
|
[dependencies]
|
|
anyhow = "1"
|
|
axum = { version = "0.8", features = ["json", "macros"] }
|
|
bytes = "1"
|
|
clap = { version = "4", features = ["derive"] }
|
|
futures-util = "0.3"
|
|
if-addrs = "0.14"
|
|
rand = "0.9"
|
|
reqwest = { version = "0.12", default-features = false, features = ["json", "rustls-tls", "stream"] }
|
|
serde = { version = "1", features = ["derive"] }
|
|
serde_json = "1"
|
|
sha2 = "0.10"
|
|
socket2 = { version = "0.6", features = ["all"] }
|
|
subtle = "2"
|
|
tokio = { version = "1", features = ["full"] }
|
|
tokio-util = { version = "0.7", features = ["rt"] }
|
|
toml = "0.8"
|
|
tower-http = { version = "0.6", features = ["limit", "trace", "set-header"] }
|
|
tracing = "0.1"
|
|
tracing-subscriber = { version = "0.3", features = ["env-filter"] }
|
|
url = "2"
|
|
|
|
[dev-dependencies]
|
|
tempfile = "3"
|
|
tower = { version = "0.5", features = ["util"] }
|
|
|
|
[profile.release]
|
|
lto = "thin"
|
|
codegen-units = 1
|
|
strip = true
|
|
|