[package]
name = "feroxbuster"
version = "2.9.5"
authors = ["Ben 'epi' Risher (@epi052)"]
license = "MIT"
edition = "2021"
homepage = "https://github.com/epi052/feroxbuster"
repository = "https://github.com/epi052/feroxbuster"
description = "A fast, simple, recursive content discovery tool."
categories = ["command-line-utilities"]
keywords = [
    "pentest",
    "enumeration",
    "url-bruteforce",
    "content-discovery",
    "web",
]
exclude = [".github/*", "img/*", "check-coverage.sh"]
build = "build.rs"

[badges]
maintenance = { status = "actively-developed" }

[build-dependencies]
clap = { version = "4.2", features = ["wrap_help", "cargo"] }
clap_complete = "4.1"
regex = "1.5"
lazy_static = "1.4"
dirs = "5.0"

[dependencies]
scraper = "0.16"
futures = "0.3"
tokio = { version = "1.26", features = ["full"] }
tokio-util = { version = "0.7", features = ["codec"] }
log = "0.4"
env_logger = "0.10"
reqwest = { version = "0.11", features = ["socks"] }
# uses feature unification to add 'serde' to reqwest::Url
url = { version = "2.2", features = ["serde"] }
serde_regex = "1.1"
clap = { version = "4.2", features = ["wrap_help", "cargo"] }
lazy_static = "1.4"
toml = "0.7"
serde = { version = "1.0", features = ["derive", "rc"] }
serde_json = "1.0"
uuid = { version = "1.3", features = ["v4"] }
indicatif = "0.17"
console = "0.15"
openssl = { version = "0.10", features = ["vendored"] }
dirs = "5.0"
regex = "1.5"
crossterm = "0.26"
rlimit = "0.9"
ctrlc = "3.2"
anyhow = "1.0"
leaky-bucket = "0.12"
gaoya = "0.1"
self_update = { version = "0.36", features = [
    "archive-tar",
    "compression-flate2",
    "archive-zip",
    "compression-zip-deflate",
] }

[dev-dependencies]
tempfile = "3.3"
httpmock = "0.6"
assert_cmd = "2.0"
predicates = "3.0"

[profile.release]
lto = true
codegen-units = 1
panic = 'abort'

[package.metadata.deb]
section = "utility"
license-file = ["LICENSE", "4"]
conf-files = ["/etc/feroxbuster/ferox-config.toml"]
assets = [
    [
        "target/release/feroxbuster",
        "/usr/bin/",
        "755",
    ],
    [
        "ferox-config.toml.example",
        "/etc/feroxbuster/ferox-config.toml",
        "644",
    ],
    [
        "shell_completions/feroxbuster.bash",
        "/usr/share/bash-completion/completions/feroxbuster.bash",
        "644",
    ],
    [
        "shell_completions/feroxbuster.fish",
        "/usr/share/fish/completions/feroxbuster.fish",
        "644",
    ],
    [
        "shell_completions/_feroxbuster",
        "/usr/share/zsh/vendor-completions/_feroxbuster",
        "644",
    ],
]
