[package]
edition = "2024"
rust-version = "1.88"
name = "scrape-le"
version = "0.3.1"
authors = ["Nolin D Naidoo"]
build = false
exclude = [
"AGENTS.md",
"CLAUDE.md",
"rust-toolchain.toml",
"examples/",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Check whether a page is scrapeable before the scraper is written, and say when it cannot tell"
homepage = "https://letools.dev/tools/scrape-le"
readme = "README.md"
keywords = [
"robots-txt",
"web-scraping",
"crawler",
"anti-bot",
"scraping",
]
categories = [
"command-line-utilities",
"web-programming",
"development-tools",
"text-processing",
"parsing",
]
license = "MIT"
repository = "https://github.com/nolindnaidoo/scrape-le"
[[bin]]
name = "scrape-le"
path = "src/main.rs"
[[test]]
name = "budget"
path = "tests/budget.rs"
[[test]]
name = "contracts"
path = "tests/contracts.rs"
[[test]]
name = "fuzz"
path = "tests/fuzz.rs"
[[test]]
name = "hazards"
path = "tests/hazards.rs"
[[test]]
name = "platform"
path = "tests/platform.rs"
[[test]]
name = "scenarios"
path = "tests/scenarios.rs"
[dependencies.headless_chrome]
version = "1"
[dependencies.regex]
version = "1"
[dependencies.serde]
version = "1"
features = ["derive"]
[dependencies.serde_json]
version = "1"
[dependencies.toml]
version = "0.9"
[dependencies.ureq]
version = "3"
[dependencies.url]
version = "2"
[dev-dependencies.anyhow]
version = "1"
[lints.clippy]
cast_possible_truncation = "allow"
cast_possible_wrap = "allow"
cast_precision_loss = "allow"
cast_sign_loss = "allow"
missing_errors_doc = "allow"
missing_panics_doc = "allow"
must_use_candidate = "allow"
[lints.clippy.all]
level = "warn"
priority = -1
[lints.clippy.pedantic]
level = "warn"
priority = -1
[lints.rust]
unsafe_code = "forbid"
[profile.release]
lto = "thin"
codegen-units = 1
overflow-checks = true
strip = true