[package]
edition = "2021"
rust-version = "1.81"
name = "redent"
version = "0.1.0"
authors = ["trananhtung"]
build = false
exclude = [
"/.github",
"/.gitignore",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Strip redundant indentation and indent the string. A faithful port of the redent npm package (strip-indent + indent-string)."
homepage = "https://github.com/trananhtung/redent"
documentation = "https://docs.rs/redent"
readme = "README.md"
keywords = [
"indent",
"dedent",
"reindent",
"strip",
"string",
]
categories = [
"text-processing",
"no-std",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/trananhtung/redent"
[lib]
name = "redent"
path = "src/lib.rs"
[[test]]
name = "integration"
path = "tests/integration.rs"
[dependencies.indent-string]
version = "0.1"
[dependencies.strip-indent]
version = "0.1"
[lints.clippy]
all = "warn"
pedantic = "warn"
[lints.rust]
missing_docs = "warn"
unsafe_code = "forbid"