-
Notifications
You must be signed in to change notification settings - Fork 11
/
Cargo.toml
74 lines (62 loc) · 1.95 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
74
[package]
name = "html5gum"
authors = ["Markus Unterwaditzer <[email protected]>"]
description = "A WHATWG-compliant HTML5 tokenizer and tag soup parser."
edition = "2018"
readme = "README.md"
keywords = ["html", "html5", "whatwg", "parser", "tokenizer"]
categories = [ "parser-implementations", "web-programming" ]
license = "MIT"
repository = "https://github.com/untitaker/html5gum"
version = "0.7.0"
include = ["src/**/*", "LICENSE", "README.md", "benches"]
[dev-dependencies]
pretty_assertions = "1.0.0"
serde = { version = "1.0.130", features = ["derive"] }
serde_json = "1.0.71"
test-generator = "0.3.0"
serde_bytes = "0.11.5"
glob = "0.3.0"
libtest-mimic = "0.8.1"
# https://github.com/bheisler/iai/issues/34
# need to have cache simulation running because of bencher.dev
iai = { git = "https://github.com/sigaloid/iai", rev = "d56a597" }
markup5ever_rcdom = "0.5.0-unofficial"
# required for examples/scraper.rs
scraper = "0.21.0"
argh = "0.1.12"
[features]
# By default this crate depends on the jetscii library for best performance.
# Disabling this feature will leave you with 100% safe Rust and no dependencies.
# This may come in handy if you encounter packaging/build problems.
default = ["jetscii"]
# The tree-builder feature contains utilities to use html5ever's DOM and tree
# builder with html5gum's tokenizer.
tree-builder = ["html5ever"]
[dependencies]
html5ever = { version = "0.29.0", optional = true }
jetscii = { version = "0.5.1", optional = true }
[[bench]]
name = "patterns"
harness = false
[[test]]
name = "html5lib-tokenizer"
path = "tests/html5lib_tokenizer.rs"
harness = false
[[test]]
name = "html5lib-tree-builder"
path = "tests/html5lib_tree_builder.rs"
required-features = ["tree-builder"]
harness = false
[[example]]
name = "build_tree"
required-features = ["tree-builder"]
[[example]]
name = "custom_emitter"
[[example]]
name = "callback_emitter"
[[example]]
name = "scraper"
required-features = ["tree-builder"]
[lib]
bench = false