-
Notifications
You must be signed in to change notification settings - Fork 83
/
Cargo.toml
73 lines (66 loc) · 1.91 KB
/
Cargo.toml
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
[package]
name = "lol_html"
version = "2.0.0"
authors = ["Ivan Nikulin <[email protected], [email protected]>"]
license = "BSD-3-Clause"
description = "Streaming HTML rewriter/parser with CSS selector-based API"
repository = "https://github.com/cloudflare/lol-html"
documentation = "https://docs.rs/lol-html"
categories = ["parser-implementations", "web-programming"]
keywords = ["html", "css-selectors", "parser", "rewriter", "streaming"]
readme = "README.md"
include = ["/Cargo.toml", "/LICENSE", "/README.md", "/media", "/src"]
autotests = false
edition = "2021"
[lib]
# Disable libtest to make sure criterion can parse the command line flags.
# See https://bheisler.github.io/criterion.rs/book/faq.html and https://github.com/rust-lang/rust/issues/47241.
bench = false
[features]
debug_trace = []
# Unstable: for internal use only
integration_test = []
[[test]]
harness = false
name = "integration_tests"
[[bench]]
harness = false
name = "bench"
[dependencies]
bitflags = "2.0.0"
cfg-if = "1.0.0"
cssparser = "0.27.2"
encoding_rs = "0.8.13"
lazycell = "1.3.0"
lazy_static = "1.3.0"
memchr = "2.1.2"
selectors = "0.22.0"
thiserror = "1.0.2"
hashbrown = "0.15.0"
mime = "0.3.16"
[dev-dependencies]
criterion = "0.5.1"
clap = { version = "*", features = ["help"] } # for criterion <= v0.5.1
glob = "0.3.0"
html5ever = "0.26.0"
markup5ever_rcdom = "0.2.0"
hashbrown = { version = "0.15.0", features = ["serde"] }
serde = "1.0.126"
serde_derive = "1.0.19"
serde_json = "1.0.65"
static_assertions = "1.1.0"
rand = "0.8.5"
rustc-test = "0.3.1"
itertools = "0.10.1"
[lints.rust]
keyword_idents = { level = "deny", priority = 1 }
for_loops_over_fallibles = "deny"
unit_bindings = "deny"
absolute_paths_not_starting_with_crate = "warn"
elided_lifetimes_in_paths = "warn"
macro_use_extern_crate = "warn"
meta_variable_misuse = "warn"
redundant_lifetimes = "warn"
trivial_numeric_casts = "warn"
unnameable_types = "warn"
unused_qualifications = "warn"