-
Notifications
You must be signed in to change notification settings - Fork 85
/
Cargo.toml
66 lines (60 loc) · 1.85 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
[package]
name = "lol_html"
version = "2.1.0"
authors = ["Ivan Nikulin <inikulin@cloudflare.com, ifaaan@gmail.com>"]
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"]
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 = []
[[bench]]
harness = false
name = "bench"
[dependencies]
bitflags = "2.0.0"
cfg-if = "1.0.0"
cssparser = "0.29"
encoding_rs = "0.8.13"
memchr = "2.1.2"
hashbrown = "0.15.0"
mime = "0.3.16"
selectors = "0.24"
thiserror = "2.0"
[dev-dependencies]
criterion = "0.5.1"
# Needed for criterion <= v0.5.1. See https://github.com/bheisler/criterion.rs/pull/703.
clap = { version = "4.5.21", features = ["help"] }
glob = "0.3.0"
html5ever = "0.29"
markup5ever_rcdom = "0.5.0-unofficial"
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"
itertools = "0.13"
[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"