[package]
edition = "2021"
rust-version = "1.81"
name = "detect-newline"
version = "0.1.1"
authors = ["trananhtung"]
build = false
exclude = [
"/.github",
"/.gitignore",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Detect and normalize line endings (LF, CRLF, CR) — a zero-dependency, no_std toolkit. A Rust take on Node's detect-newline."
homepage = "https://github.com/trananhtung/detect-newline"
documentation = "https://docs.rs/detect-newline"
readme = "README.md"
keywords = [
"newline",
"eol",
"crlf",
"line-ending",
"detect",
]
categories = [
"text-processing",
"no-std",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/trananhtung/detect-newline"
[lib]
name = "detect_newline"
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"