nom-kconfig 0.9.0

A Kconfig parser
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
mod parsing;
mod utils;

fn main() -> std::io::Result<()> {
    utils::init_tracing();
    let dir = std::env::temp_dir();
    let destination = dir.join("u-boot");
    utils::clone_if_not_exists("https://github.com/u-boot/u-boot.git", &destination)?;
    parsing::parse_from_entrypoint(&destination, destination.join("Kconfig"))?;

    Ok(())
}