[package]
edition = "2024"
rust-version = "1.88"
name = "httpdirectory"
version = "0.19.0"
authors = ["Olivier Delhomme <olivier.delhomme@free.fr>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Library to get a directory webpage (an HTTP index) into a Rust structure"
readme = "README.md"
keywords = [
"http",
"directory",
"file",
"autoindex",
"httpdir",
]
categories = [
"web-programming",
"parsing",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/dupgit/httpdirectory"
[features]
hotpath = ["hotpath/hotpath"]
hotpath-alloc = ["hotpath/hotpath-alloc"]
test-helpers = []
test-output = []
[lib]
name = "httpdirectory"
path = "src/lib.rs"
[[example]]
name = "debug_me"
path = "examples/debug_me.rs"
[[example]]
name = "mirrors"
path = "examples/mirrors.rs"
[[example]]
name = "onedir"
path = "examples/onedir.rs"
[[test]]
name = "integration"
path = "tests/integration.rs"
[[bench]]
name = "filtering_bench"
path = "benches/filtering_bench.rs"
harness = false
[[bench]]
name = "integration_bench"
path = "benches/integration_bench.rs"
harness = false
[dependencies.chrono]
version = "0.4.40"
[dependencies.const_format]
version = "0.2.34"
[dependencies.hotpath]
version = "0.11.0"
optional = true
[dependencies.regex]
version = "1.11.1"
[dependencies.reqwest]
version = "0.13.1"
features = ["charset"]
[dependencies.scraper]
version = "0.25.0"
[dependencies.snafu]
version = "0.8.9"
[dependencies.tokio]
version = "1.44.2"
features = [
"macros",
"rt-multi-thread",
]
[dependencies.tracing]
version = "0.1.44"
features = ["async-await"]
[dependencies.unwrap_unreachable]
version = "0.1.1"
[dependencies.url]
version = "2.5.4"
[dev-dependencies.colored]
version = "3.0.0"
[dev-dependencies.criterion]
version = "0.8"
features = ["html_reports"]
[dev-dependencies.env_logger]
version = "0.11.8"
[dev-dependencies.httpmock]
version = "0.8.1"
[lints.clippy]
pedantic = "warn"