# 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 = "crw-crawl"
version = "0.8.2"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Async BFS web crawler with rate limiting and robots.txt support for CRW"
homepage = "https://us.github.io/crw"
readme = "README.md"
keywords = [
    "web-scraper",
    "web-crawler",
    "firecrawl",
    "mcp",
    "llm",
]
categories = [
    "web-programming",
    "command-line-utilities",
]
license = "AGPL-3.0"
repository = "https://github.com/us/crw"
resolver = "2"

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

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

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

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

[dependencies.crw-core]
version = "0.8.2"

[dependencies.crw-extract]
version = "0.8.2"

[dependencies.crw-renderer]
version = "0.8.2"

[dependencies.dashmap]
version = "6"

[dependencies.flate2]
version = "1"

[dependencies.futures]
version = "0.3"

[dependencies.phf]
version = "0.11"
features = ["macros"]

[dependencies.publicsuffix]
version = "2"

[dependencies.rand]
version = "0.9"

[dependencies.reqwest]
version = "0.13"
features = [
    "json",
    "cookies",
    "rustls",
    "gzip",
    "brotli",
    "deflate",
    "socks",
    "stream",
]
default-features = false

[dependencies.scraper]
version = "0.25"

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

[dependencies.tracing]
version = "0.1"

[dependencies.url]
version = "2"
features = ["serde"]

[dependencies.uuid]
version = "1"
features = [
    "v4",
    "serde",
]

[dev-dependencies.proptest]
version = "1"

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

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