[package]
edition = "2021"
rust-version = "1.81"
name = "indentkit"
version = "0.1.1"
authors = ["trananhtung"]
build = false
exclude = [
"/.github",
"/.gitignore",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Detect a string's indentation (tabs vs spaces + size) and re-indent / convert between styles. Like Node's detect-indent. Zero-dependency, no_std."
homepage = "https://github.com/trananhtung/indentkit"
documentation = "https://docs.rs/indentkit"
readme = "README.md"
keywords = [
"indent",
"indentation",
"detect-indent",
"whitespace",
"format",
]
categories = [
"text-processing",
"no-std",
"development-tools",
"value-formatting",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/trananhtung/indentkit"
[lib]
name = "indentkit"
path = "src/lib.rs"
[[test]]
name = "integration"
path = "tests/integration.rs"
[lints.clippy]
all = "warn"
pedantic = "warn"
[lints.rust]
missing_docs = "warn"
unsafe_code = "forbid"