# 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-core"
version = "0.20.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Core types, config, and error handling for the CRW web scraper"
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"

[features]
camoufox = []
cdp = []

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

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

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

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

[dependencies.config]
version = "0.15"

[dependencies.crw-mcp-proto]
version = "0.20.0"

[dependencies.prometheus]
version = "0.13"

[dependencies.rand]
version = "0.9"

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

[dependencies.serde]
version = "1"
features = ["derive"]

[dependencies.serde_json]
version = "1"

[dependencies.thiserror]
version = "2"

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

[dependencies.toml]
version = "0.8"

[dependencies.tracing]
version = "0.1"

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

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

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

[dev-dependencies.toml]
version = "0.8"
