aboutsummaryrefslogtreecommitdiff
path: root/Cargo.toml
blob: d6fe34de1581cc0ccf821e7338259b3a4202f5d1 (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.2.0"
authors = [ "The html5ever Project Developers", "Martin Fischer" ]
license = "MIT / Apache-2.0"
repository = "https://git.push-f.com/html5tokenizer"
description = "The HTML5 tokenizer from html5ever repackaged with its dependencies removed"
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"]