goalkeeper 0.2.2

DoS and DDoS mitigation utilities
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 = "2021"
name = "goalkeeper"
version = "0.2.2"
authors = ["Finn Bear"]
build = false
exclude = ["fuzz/"]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "DoS and DDoS mitigation utilities"
readme = "README.md"
license = "MIT OR Apache-2.0"
repository = "https://github.com/finnbear/goalkeeper"

[package.metadata.docs.rs]
all-features = true

[features]
axum = [
    "dep:axum",
    "axum-server",
    "tokio",
    "tower",
    "pin-project",
]
default = []
tokio = [
    "dep:tokio",
    "socket2",
]

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

[[example]]
name = "axum_ddos"
path = "examples/axum_ddos.rs"
required-features = ["axum"]

[dependencies.axum]
version = "0.8.1"
optional = true
default-features = false

[dependencies.axum-server]
version = "0.7.1"
optional = true

[dependencies.fxhash]
version = "0.2.1"

[dependencies.log]
version = "0.4.17"

[dependencies.pin-project]
version = "1.1"
optional = true

[dependencies.socket2]
version = "0.5.8"
features = ["all"]
optional = true

[dependencies.tokio]
version = "1.39.3"
features = ["net"]
optional = true
default-features = false

[dependencies.tower]
version = "0.4"
optional = true

[dev-dependencies.axum]
version = "=0.8.1"
features = ["ws"]
default-features = false

[dev-dependencies.env_logger]
version = "0.11.8"

[dev-dependencies.futures-util]
version = "0.3.31"

[dev-dependencies.hyper]
version = "=1.6.0"

[dev-dependencies.hyper-util]
version = "=0.1.7"
features = ["tokio"]

[dev-dependencies.rand]
version = "0.8.4"

[dev-dependencies.tokio]
version = "1.39.3"
features = [
    "net",
    "rt-multi-thread",
]
default-features = false

[dev-dependencies.tokio-websockets]
version = "0.12.3"
features = [
    "client",
    "rand",
    "ring",
]
default-features = false