-
Notifications
You must be signed in to change notification settings - Fork 29
/
Cargo.toml
48 lines (41 loc) · 1.08 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
[package]
name = "html2text"
version = "0.12.4"
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.63"
categories = ["text-processing"]
keywords = ["html", "text"]
license = "MIT"
[dependencies]
html5ever = "0.27.0"
markup5ever = "0.12.0"
tendril = "0.4"
unicode-width = "0.1.5"
backtrace = { version = "0.3", optional=true }
thiserror = "1.0.50"
lightningcss = { version = "1.0.0-alpha.54", optional=true }
# Keep dashmap back; 5.5 has a higher MSRV.
dashmap = "~5.4"
log = { version = "0.4.20", optional = true }
[features]
html_trace = ["dep:log"]
html_trace_bt = ["html_trace", "dep:backtrace"]
default = []
css = ["dep:lightningcss"]
[[example]]
name = "html2term"
path = "examples/html2term.rs"
[[example]]
name = "html2text"
path = "examples/html2text.rs"
[dev-dependencies]
env_logger = "0.10.1"
argparse = "0.2.2"
log = "0.4.20"
[target.'cfg(unix)'.dev-dependencies]
termion = "3.0"