[package]
edition = "2021"
rust-version = "1.74"
name = "striptags"
version = "0.1.1"
authors = ["trananhtung"]
build = false
exclude = [
"/.github",
"/.gitignore",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Strip HTML tags from a string, with optional allowed tags and a replacement. A faithful port of the striptags npm package. Zero dependencies, no_std."
homepage = "https://github.com/trananhtung/striptags"
documentation = "https://docs.rs/striptags"
readme = "README.md"
keywords = [
"html",
"strip",
"tags",
"sanitize",
"text",
]
categories = [
"text-processing",
"no-std",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/trananhtung/striptags"
[lib]
name = "striptags"
path = "src/lib.rs"
[[test]]
name = "integration"
path = "tests/integration.rs"
[dependencies]
[lints.clippy]
all = "warn"
pedantic = "warn"
[lints.rust]
missing_docs = "warn"
unsafe_code = "forbid"