# 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"
rust-version = "1.94"
name = "ccdown"
version = "0.6.4"
authors = ["4thel00z <4thel00z@gmail.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A polite and user-friendly downloader for Common Crawl data."
homepage = "https://tahrioui.com"
documentation = "https://docs.rs/ccdown"
readme = "README.md"
license = "MIT OR Apache-2.0"
repository = "https://github.com/4thel00z/ccdown"

[features]
default = []
python = ["pyo3"]

[lib]
name = "ccdown"
crate-type = [
    "lib",
    "cdylib",
]
path = "src/lib.rs"

[[bin]]
name = "ccdown"
path = "src/main.rs"

[[test]]
name = "cli"
path = "tests/cli.rs"

[[test]]
name = "integration"
path = "tests/integration.rs"

[dependencies.clap]
version = "4.5.32"
features = ["derive"]

[dependencies.flate2]
version = "1.1.0"

[dependencies.futures]
version = "0.3.31"

[dependencies.indicatif]
version = "0.17.11"

[dependencies.pyo3]
version = "0.28"
features = ["extension-module"]
optional = true

[dependencies.regex]
version = "1.11.1"

[dependencies.reqwest]
version = "0.12.14"
features = [
    "stream",
    "rustls-tls",
]
default-features = false

[dependencies.reqwest-middleware]
version = "0.4.1"

[dependencies.reqwest-retry]
version = "0.7.0"

[dependencies.tokio]
version = "1.44.1"
features = ["full"]

[dependencies.tokio-util]
version = "0.7.14"
features = ["compat"]

[dependencies.url]
version = "2.5.4"

[dev-dependencies.assert_cmd]
version = "2"

[dev-dependencies.flate2]
version = "1.1.0"

[dev-dependencies.predicates]
version = "3"

[dev-dependencies.reqwest]
version = "0.12.14"
features = [
    "stream",
    "rustls-tls",
    "json",
]
default-features = false

[dev-dependencies.serde]
version = "1.0.219"
features = ["derive"]

[dev-dependencies.tempfile]
version = "3"

[dev-dependencies.tokio]
version = "1.44.1"
features = ["full"]

[dev-dependencies.wiremock]
version = "0.6"
