-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
50 lines (45 loc) · 1.25 KB
/
Copy pathCargo.toml
File metadata and controls
50 lines (45 loc) · 1.25 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
[package]
name = "html-cleaning"
version = "0.3.0"
edition = "2021"
rust-version = "1.75"
authors = ["Murrough Foley"]
description = "HTML cleaning, sanitization, and text processing utilities"
documentation = "https://docs.rs/html-cleaning"
homepage = "https://murroughfoley.com"
repository = "https://github.com/Murrough-Foley/html-cleaning"
readme = "README.md"
license = "MIT OR Apache-2.0"
keywords = ["html", "sanitization", "cleaning", "text-processing", "dom"]
categories = ["parser-implementations", "text-processing", "web-programming"]
include = [
"src/**/*",
"Cargo.toml",
"LICENSE-*",
"README.md",
]
[features]
default = ["presets"]
presets = []
regex = ["dep:regex"]
url = ["dep:url"]
full = ["presets", "regex", "url"]
[dependencies]
dom_query = "0.24"
thiserror = "2.0"
regex = { version = "1.11", optional = true }
url = { version = "2.5", optional = true }
[dev-dependencies]
pretty_assertions = "1.4"
[lints.rust]
unsafe_code = "forbid"
[lints.clippy]
all = { level = "warn", priority = -1 }
pedantic = { level = "warn", priority = -1 }
unwrap_used = "deny"
expect_used = "deny"
needless_raw_string_hashes = "allow"
module_name_repetitions = "allow"
must_use_candidate = "allow"
missing_errors_doc = "allow"
missing_panics_doc = "allow"