[package]
edition = "2024"
rust-version = "1.87"
name = "linux-kernel-cmdline"
version = "0.1.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = """
A parser for the Linux kernel command line (/proc/cmdline), supporting both
byte-level and UTF-8 parsing with proper quote handling and dash/underscore
equivalence for parameter keys.
"""
homepage = "https://github.com/jeckersb/linux-kernel-cmdline"
readme = "README.md"
keywords = [
"kernel",
"cmdline",
"boot",
"linux",
"parsing",
]
categories = [
"os::linux-apis",
"parser-implementations",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/jeckersb/linux-kernel-cmdline"
[features]
serde = ["dep:serde"]
[lib]
name = "linux_kernel_cmdline"
path = "src/lib.rs"
[dependencies.anyhow]
version = "1.0.82"
[dependencies.serde]
version = "1.0.199"
features = ["derive"]
optional = true
[dev-dependencies.similar-asserts]
version = "2.0.0"
[dev-dependencies.static_assertions]
version = "1.1.0"
[lints.clippy]
dbg_macro = "deny"
disallowed_methods = "deny"
needless_borrow = "allow"
needless_borrows_for_generic_args = "allow"
todo = "deny"
[lints.rust]
dead_code = "deny"
missing_debug_implementations = "deny"
missing_docs = "allow"
unsafe_code = "deny"
unused_must_use = "forbid"