stackforge-core 0.7.3

Core networking logic for Stackforge.
Documentation
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2024"
name = "stackforge-core"
version = "0.7.3"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Core networking logic for Stackforge."
readme = false
license = "GPL-3.0-only"
repository = "https://github.com/LaBackDoor/stackforge"
resolver = "2"

[features]
anonymize = [
    "rand",
    "aes",
]
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",
]

[lib]
name = "stackforge_core"
path = "src/lib.rs"

[[bench]]
name = "layer_dispatch"
path = "benches/layer_dispatch.rs"
harness = false

[[bench]]
name = "packet_parse"
path = "benches/packet_parse.rs"
harness = false

[[bench]]
name = "pcap_throughput"
path = "benches/pcap_throughput.rs"
harness = false

[dependencies.aes]
version = "0.8"
optional = true

[dependencies.aes-gcm]
version = "0.10"
optional = true

[dependencies.bytes]
version = "1.11.0"

[dependencies.cbc]
version = "0.1"
optional = true

[dependencies.chacha20poly1305]
version = "0.10"
optional = true

[dependencies.crossbeam-channel]
version = "0.5"

[dependencies.dashmap]
version = "6.1"

[dependencies.default-net]
version = "0.22.0"

[dependencies.des]
version = "0.8"
optional = true

[dependencies.digest]
version = "0.10"
optional = true

[dependencies.enum_dispatch]
version = "0.3"

[dependencies.hkdf]
version = "0.12"
optional = true

[dependencies.hmac]
version = "0.12"
optional = true

[dependencies.md-5]
version = "0.10"
optional = true

[dependencies.memmap2]
version = "0.9"

[dependencies.p256]
version = "0.13"
features = ["ecdh"]
optional = true

[dependencies.pcap]
version = "2"

[dependencies.pcap-file]
version = "2"

[dependencies.pnet_datalink]
version = "0.35.0"

[dependencies.rand]
version = "0.9.2"
optional = true

[dependencies.rayon]
version = "1.10"

[dependencies.rc4]
version = "0.1"
optional = true

[dependencies.sha1]
version = "0.10"
optional = true

[dependencies.sha2]
version = "0.10"
optional = true

[dependencies.smallvec]
version = "1.15.1"

[dependencies.tempfile]
version = "3"

[dependencies.thiserror]
version = "2.0.17"

[dependencies.x25519-dalek]
version = "2"
features = [
    "getrandom",
    "static_secrets",
]
optional = true

[dev-dependencies.criterion]
version = "0.5"
features = ["html_reports"]

[lints.rust]
missing_docs = "allow"