[package]
edition = "2021"
rust-version = "1.81"
name = "indent-string"
version = "0.1.0"
authors = ["trananhtung"]
build = false
exclude = [
"/.github",
"/.gitignore",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Indent each line of a multi-line string. A faithful port of the indent-string npm package. Zero dependencies, no_std."
homepage = "https://github.com/trananhtung/indent-string"
documentation = "https://docs.rs/indent-string"
readme = "README.md"
keywords = [
"indent",
"string",
"prefix",
"lines",
"text",
]
categories = [
"text-processing",
"no-std",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/trananhtung/indent-string"
[lib]
name = "indent_string"
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"