[package]
edition = "2024"
rust-version = "1.88"
name = "codoseo-crawler"
version = "0.0.1"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "The CodoSEO crawler: fetching, robots.txt, sitemaps and streaming field extraction."
homepage = "https://codoseo.com"
readme = false
license = "AGPL-3.0-only"
repository = "https://github.com/SafrowLabs/codoSEO"
[lib]
name = "codoseo_crawler"
path = "src/lib.rs"
[[test]]
name = "crawl"
path = "tests/crawl.rs"
[[test]]
name = "crawl_memory"
path = "tests/crawl_memory.rs"
[[test]]
name = "extract"
path = "tests/extract.rs"
[[test]]
name = "fetch"
path = "tests/fetch.rs"
[[test]]
name = "guard"
path = "tests/guard.rs"
[[test]]
name = "memory"
path = "tests/memory.rs"
[[test]]
name = "politeness"
path = "tests/politeness.rs"
[[test]]
name = "preflight"
path = "tests/preflight.rs"
[[test]]
name = "robots"
path = "tests/robots.rs"
[[test]]
name = "sitemap"
path = "tests/sitemap.rs"
[dependencies.bytes]
version = "1.12.1"
[dependencies.codoseo-core]
version = "0.0.1"
[dependencies.encoding_rs]
version = "0.8.42"
[dependencies.flate2]
version = "1.1.10"
[dependencies.futures-util]
version = "0.3.34"
[dependencies.htmlize]
version = "1.1.0"
features = ["unescape"]
[dependencies.httpdate]
version = "1.0.3"
[dependencies.lol_html]
version = "3.0.1"
[dependencies.quick-xml]
version = "0.42.0"
[dependencies.reqwest]
version = "0.13.5"
features = [
"rustls",
"http2",
"gzip",
"brotli",
"stream",
]
default-features = false
[dependencies.serde]
version = "1.0.229"
features = ["derive"]
[dependencies.serde_json]
version = "1.0.151"
[dependencies.thiserror]
version = "2.0.21"
[dependencies.tokio]
version = "1.53.2"
features = [
"rt-multi-thread",
"macros",
"net",
"time",
"sync",
]
[dependencies.url]
version = "2.5.8"
features = ["serde"]
[dependencies.xxhash-rust]
version = "0.8.19"
features = ["xxh3"]
[dev-dependencies.axum]
version = "0.8.9"
[dev-dependencies.flate2]
version = "1.1.10"
[dev-dependencies.insta]
version = "1.49.0"
features = ["yaml"]
[dev-dependencies.peak_alloc]
version = "0.3.0"
[dev-dependencies.tokio]
version = "1.53.2"
features = [
"rt-multi-thread",
"macros",
"net",
"time",
"sync",
"test-util",
]
[lints.clippy]
dbg_macro = "warn"
todo = "warn"
[lints.rust]
unsafe_code = "forbid"