stackforge-core 0.7.3

Core networking logic for Stackforge.
Documentation
[package]
name = "stackforge-core"
version.workspace = true
edition.workspace = true
repository.workspace = true
license.workspace = true
description = "Core networking logic for Stackforge."

[dependencies]
enum_dispatch = "0.3"
thiserror.workspace = true
bytes.workspace = true
smallvec.workspace = true
pnet_datalink = "0.35.0"
default-net = "0.22.0"
rand = { version = "0.9.2", optional = true }
pcap-file = "2"
dashmap = { workspace = true }
memmap2 = { workspace = true }
tempfile = { workspace = true }
pcap = "2"
crossbeam-channel = "0.5"

# TLS crypto dependencies
hmac = { version = "0.12", optional = true }
sha2 = { version = "0.10", optional = true }
sha1 = { version = "0.10", optional = true }
md-5 = { version = "0.10", optional = true }
aes = { version = "0.8", optional = true }
cbc = { version = "0.1", optional = true }
aes-gcm = { version = "0.10", optional = true }
chacha20poly1305 = { version = "0.10", optional = true }
hkdf = { version = "0.12", optional = true }
p256 = { version = "0.13", features = ["ecdh"], optional = true }
x25519-dalek = { version = "2", features = ["getrandom", "static_secrets"], optional = true }
digest = { version = "0.10", optional = true }
rc4 = { version = "0.1", optional = true }
des = { version = "0.8", optional = true }

[features]
default = ["rand", "tls", "anonymize"]
tls = ["hmac", "sha2", "sha1", "md-5", "aes", "cbc", "aes-gcm", "chacha20poly1305", "hkdf", "p256", "x25519-dalek", "digest"]
tls-weak-crypto = ["tls", "rc4", "des"]
anonymize = ["rand", "aes"]

[dev-dependencies]
criterion = { version = "0.5", features = ["html_reports"] }

[dependencies.rayon]
version = "1.10"

[[bench]]
name = "packet_parse"
harness = false

[[bench]]
name = "layer_dispatch"
harness = false

[[bench]]
name = "pcap_throughput"
harness = false

[lints]
workspace = true