-
Notifications
You must be signed in to change notification settings - Fork 29
/
Cargo.toml
47 lines (40 loc) · 998 Bytes
/
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
[package]
name = "html2text"
version = "0.13.6"
authors = ["Chris Emerson <[email protected]>"]
description = "Render HTML as plain text."
repository = "https://github.com/jugglerchris/rust-html2text/"
readme = "README.md"
documentation = "https://docs.rs/html2text/"
edition = "2021"
rust-version = "1.72"
categories = ["text-processing"]
keywords = ["html", "text"]
license = "MIT"
[dependencies]
html5ever = "0.29.0"
markup5ever = "0.14.0"
tendril = "0.4"
unicode-width = "0.2"
backtrace = { version = "0.3", optional=true }
thiserror = "2.0.0"
log = { version = "0.4.20", optional = true }
nom = "7.1.3"
[features]
html_trace = ["dep:log"]
html_trace_bt = ["html_trace", "dep:backtrace"]
default = []
css = []
css_ext = ["css"]
[[example]]
name = "html2term"
path = "examples/html2term.rs"
[[example]]
name = "html2text"
path = "examples/html2text.rs"
[dev-dependencies]
env_logger = "0.11.6"
argparse = "0.2.2"
log = "0.4.20"
[target.'cfg(unix)'.dev-dependencies]
termion = "4.0"