-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathCargo.toml
56 lines (47 loc) · 1.31 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
[workspace.package]
version = "0.6.1"
edition = "2021"
license = "MIT"
rust-version = "1.66"
repository = "https://github.com/niklak/dom_smoothie"
authors = ["niklak <[email protected]>"]
[package]
name = "dom_smoothie"
version.workspace = true
license.workspace = true
repository.workspace = true
edition.workspace = true
authors.workspace = true
rust-version.workspace = true
description = "A Rust crate for extracting relevant content from web pages"
documentation = "https://docs.rs/dom_smoothie/latest"
keywords = ["html", "readability"]
readme = "README.md"
exclude = [".*", "test-pages", "benches"]
[dependencies]
dom_query = {version = "0.15.1", features = ["mini_selector", "markdown"]}
tendril = {version = "0.4.3"}
once_cell = { version = "1" }
serde = {version = "1.0", features = ["derive"], optional = true}
gjson = {version = "0.8.1"}
html-escape = "0.2.13"
flagset = "0.4.6"
url = "2.5.4"
unicode-segmentation = "1.12.0"
thiserror = "2.0"
phf = { version = "0.11", features = ["macros"] }
foldhash = "0.1.4"
[dev-dependencies]
serde_json = {version = "1.0"}
serde = {version = "1.0", features = ["derive"]}
criterion = { version = "0.5", features = ["html_reports"] }
[features]
serde = ["dep:serde"]
[workspace]
members = [
"dom_smoothie_cli",
"dom-smoothie-js"
]
[[bench]]
name = "parse"
harness = false