-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
88 lines (81 loc) · 2.03 KB
/
Cargo.toml
File metadata and controls
88 lines (81 loc) · 2.03 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
[workspace]
resolver = "2"
members = ["crates/*"]
[workspace.package]
version = "0.2.0"
edition = "2024"
rust-version = "1.88"
license = "MIT OR Apache-2.0"
publish = false
authors = ["Andrei G. <[email protected]>"]
repository = "https://github.com/bug-ops/scrape-rs"
keywords = ["html", "parser", "scraping", "css-selectors", "dom"]
categories = ["parsing", "web-programming"]
[workspace.dependencies]
anyhow = "1.0"
assert_cmd = "2.1"
clap = "4.5"
criterion = { version = "0.8", default-features = false }
csv = "1.4"
cssparser = "0.36"
encoding_rs = "0.8"
html5ever = "0.36"
is-terminal = "0.4"
js-sys = "0.3"
lol_html = "2.7"
markup5ever = "0.36"
markup5ever_rcdom = "0.36"
memchr = "2.7"
memmap2 = "0.9"
napi = "3"
napi-build = "2"
napi-derive = "3"
precomputed-hash = "0.1"
predicates = "3.1"
pyo3 = "0.27"
rayon = "1.11"
scrape-cli = { path = "crates/scrape-cli", version = "0.2.0" }
scrape-core = { path = "crates/scrape-core", default-features = false, version = "0.2.0" }
scraper = "0.25"
select = "0.6"
selectors = "0.35"
serde = "1.0"
serde_json = "1.0"
tempfile = "3.24"
thiserror = "2.0"
ureq = "3.1"
wasm-bindgen = "0.2"
wasm-bindgen-test = "0.3"
web-sys = "0.3"
[workspace.lints.rust]
unsafe_code = "warn"
missing_docs = "warn"
# TODO: remove these after implementing stub code
dead_code = "allow"
unused_variables = "allow"
[workspace.lints.clippy]
all = { level = "warn", priority = -1 }
pedantic = { level = "warn", priority = -1 }
nursery = { level = "warn", priority = -1 }
cargo = { level = "warn", priority = -1 }
# Allow lints for early-stage skeleton project
cargo_common_metadata = "allow"
multiple_crate_versions = "allow"
doc_markdown = "allow"
missing_const_for_fn = "allow"
missing_errors_doc = "allow"
missing_panics_doc = "allow"
module_name_repetitions = "allow"
must_use_candidate = "allow"
needless_pass_by_value = "allow"
return_self_not_must_use = "allow"
use_self = "allow"
used_underscore_binding = "allow"
unused_self = "allow"
[profile.release]
lto = true
codegen-units = 1
strip = true
[profile.bench]
lto = true
codegen-units = 1