aboutsummaryrefslogtreecommitdiff
path: root/Cargo.toml
blob: cba13128a5b58312b8d9bd3a638a6a2dcad721b0 (plain)
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
[package]

name = "html5tokenizer"
version = "0.3.0"
authors = [ "The html5ever Project Developers", "Martin Fischer" ]
license = "MIT / Apache-2.0"
repository = "https://git.push-f.com/html5tokenizer"
description = "A fork of the HTML5 tokenizer from html5ever with less dependencies and more features"
categories = [ "parser-implementations", "web-programming" ]
keywords = ["html", "html5", "tokenizer", "parser"]
edition = "2018"

[features]
default = ["named-entities"]
spans = []

# resolve named entities like &
named-entities = ["phf", "phf_codegen"]

[dependencies]
phf = { version = "0.10", optional = true  }

[build-dependencies]
phf_codegen = { version = "0.10", optional = true }

[dev-dependencies]
codespan-reporting = "0.11.1"
criterion = "0.3"

[[bench]]
name = "html5ever"
harness = false

[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]