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 75 76 77 78 79 80 81 82 83 84
|
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.
[package]
edition = "2021"
rust-version = "1.63"
name = "html2text"
version = "0.12.6"
authors = ["Chris Emerson <github@mail.nosreme.org>"]
build = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Render HTML as plain text."
documentation = "https://docs.rs/html2text/"
readme = "README.md"
keywords = [
"html",
"text",
]
categories = ["text-processing"]
license = "MIT"
repository = "https://github.com/jugglerchris/rust-html2text/"
[lib]
name = "html2text"
path = "src/lib.rs"
[dependencies.backtrace]
version = "0.3"
optional = true
[dependencies.dashmap]
version = "6.1"
optional = true
[dependencies.html5ever]
version = "0.27.0"
[dependencies.log]
version = "0.4.20"
optional = true
[dependencies.markup5ever]
version = "0.12.0"
[dependencies.tendril]
version = "0.4"
[dependencies.thiserror]
version = "1.0.50"
[dependencies.unicode-width]
version = "0.2"
[dev-dependencies.argparse]
version = "0.2.2"
[dev-dependencies.env_logger]
version = "0.11"
[dev-dependencies.log]
version = "0.4.20"
[features]
default = []
html_trace = ["dep:log"]
html_trace_bt = [
"html_trace",
"dep:backtrace",
]
[target."cfg(unix)".dev-dependencies.termion]
version = ">= 1.0, < 5"
|