# 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 = "2018"
name = "rphtml"
version = "0.5.12"
authors = ["jxz_211 <jxz_211@163.com>"]
build = false
exclude = [
    "node/**/*.*",
    "cases/**/*.*",
    "build.sh",
    "codecov.yml",
    ".travis.yml",
]
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A html parser written in rust."
readme = "README.md"
keywords = [
    "html",
    "parser",
    "html-parser",
    "html-minify",
]
categories = [
    "parser-implementations",
    "wasm",
]
license = "MIT"
repository = "https://github.com/fefit/rphtml"

[profile.release]
debug = 0

[lib]
name = "rphtml"
crate-type = [
    "cdylib",
    "rlib",
]
path = "src/lib.rs"

[[bin]]
name = "rphtml"
path = "src/main.rs"

[[test]]
name = "html"
path = "tests/html.rs"

[[bench]]
name = "benchmark"
path = "benches/benchmark.rs"
harness = false

[dependencies.htmlentity]
version = "^1.3.1"

[dependencies.lazy_static]
version = "1.4.0"

[dependencies.thiserror]
version = "1.0.21"

[dev-dependencies.criterion]
version = "0.3"