[package]
edition = "2021"
rust-version = "1.65"
name = "nom-kconfig"
version = "0.10.0"
authors = ["yann Prono"]
build = false
exclude = [".github"]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A Kconfig parser"
homepage = "https://github.com/Mcdostone/nom-kconfig"
readme = "README.md"
keywords = [
"parser",
"parsing",
"kconfig",
"linux-kernel",
]
categories = ["parsing"]
license = "MIT"
repository = "https://github.com/Mcdostone/nom-kconfig"
[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--generate-link-to-definition"]
[package.metadata.typos.files]
extend-exclude = ["benches/linux-6.4.10"]
[features]
coreboot = ["dep:glob"]
default = [
"display",
"hash",
"serialize",
"deserialize",
]
deserialize = ["dep:serde"]
display = []
hash = []
serialize = ["dep:serde"]
[lib]
name = "nom_kconfig"
path = "src/lib.rs"
[[example]]
name = "download_and_parse"
path = "examples/download_and_parse.rs"
[[example]]
name = "parse_coreboot"
path = "examples/parse_coreboot.rs"
[[example]]
name = "parse_file"
path = "examples/parse_file.rs"
[[example]]
name = "parse_linux"
path = "examples/parse_linux.rs"
[[example]]
name = "parse_linux_next"
path = "examples/parse_linux_next.rs"
[[example]]
name = "parse_openwrt"
path = "examples/parse_openwrt.rs"
[[example]]
name = "parse_uboot"
path = "examples/parse_uboot.rs"
[[example]]
name = "parsing"
path = "examples/parsing.rs"
[[example]]
name = "read_file"
path = "examples/read_file.rs"
[[example]]
name = "read_kernel_directory"
path = "examples/read_kernel_directory.rs"
[[example]]
name = "utils"
path = "examples/utils.rs"
[[test]]
name = "kconfig"
path = "tests/kconfig.rs"
[[test]]
name = "source_glob"
path = "tests/source_glob.rs"
[[bench]]
name = "my_benchmark"
path = "benches/my_benchmark.rs"
harness = false
[dependencies.glob]
version = "0.3.3"
optional = true
[dependencies.nom]
version = "8.0.0"
[dependencies.nom_locate]
version = "5.0.0"
[dependencies.regex]
version = "1.12.3"
[dependencies.serde]
version = "1.0.228"
features = ["derive"]
optional = true
[dependencies.tracing]
version = "0.1.44"
features = ["log"]
[dev-dependencies.clap]
version = "4.3.24"
features = ["derive"]
[dev-dependencies.criterion]
version = "0.8.2"
features = ["html_reports"]
[dev-dependencies.reqwest]
version = "0.13.2"
features = ["blocking"]
[dev-dependencies.tracing-subscriber]
version = "0.3.23"
[dev-dependencies.walkdir]
version = "2.5.0"