[package]
edition = "2024"
rust-version = "1.88"
name = "scrape-cli"
version = "0.1.3"
authors = ["scrape-rs contributors"]
build = false
publish = true
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Command-line HTML extraction tool powered by scrape-rs"
readme = "README.md"
license = "MIT OR Apache-2.0"
repository = "https://github.com/bug-ops/scrape-rs"
resolver = "2"
[[bin]]
name = "scrape"
path = "src/main.rs"
[[test]]
name = "cli_test"
path = "tests/cli_test.rs"
[dependencies.anyhow]
version = "1.0"
[dependencies.clap]
version = "4.5"
features = [
"derive",
"env",
"wrap_help",
]
[dependencies.csv]
version = "1.4"
[dependencies.is-terminal]
version = "0.4"
[dependencies.rayon]
version = "1.11"
[dependencies.scrape-core]
version = "0.1.3"
default-features = false
[dependencies.serde]
version = "1.0"
features = ["derive"]
[dependencies.serde_json]
version = "1.0"
[dev-dependencies.assert_cmd]
version = "2.0"
[dev-dependencies.predicates]
version = "3.1"
[dev-dependencies.tempfile]
version = "3.20"
[lints.clippy]
cargo_common_metadata = "allow"
doc_markdown = "allow"
missing_const_for_fn = "allow"
missing_errors_doc = "allow"
missing_panics_doc = "allow"
module_name_repetitions = "allow"
multiple_crate_versions = "allow"
must_use_candidate = "allow"
needless_pass_by_value = "allow"
return_self_not_must_use = "allow"
unused_self = "allow"
use_self = "allow"
used_underscore_binding = "allow"
[lints.clippy.all]
level = "warn"
priority = -1
[lints.clippy.cargo]
level = "warn"
priority = -1
[lints.clippy.nursery]
level = "warn"
priority = -1
[lints.clippy.pedantic]
level = "warn"
priority = -1
[lints.rust]
dead_code = "allow"
missing_docs = "warn"
unsafe_code = "warn"
unused_variables = "allow"