makefile-lossless

Crates.iomakefile-lossless
lib.rsmakefile-lossless
version
sourcesrc
created_at2023-11-27 21:02:41.185996
updated_at2024-11-17 13:34:53.808359
descriptionLossless Parser for Makefiles
homepagehttps://github.com/jelmer/makefile-lossless
repositoryhttps://github.com/jelmer/makefile-lossless
max_upload_size
id1050935
Cargo.toml error:TOML parse error at line 18, column 1 | 18 | autolib = false | ^^^^^^^ unknown field `autolib`, expected one of `name`, `version`, `edition`, `authors`, `description`, `readme`, `license`, `repository`, `homepage`, `documentation`, `build`, `resolver`, `links`, `default-run`, `default_dash_run`, `rust-version`, `rust_dash_version`, `rust_version`, `license-file`, `license_dash_file`, `license_file`, `licenseFile`, `license_capital_file`, `forced-target`, `forced_dash_target`, `autobins`, `autotests`, `autoexamples`, `autobenches`, `publish`, `metadata`, `keywords`, `categories`, `exclude`, `include`
size0
Jelmer Vernooij (jelmer)

documentation

https://docs.rs/makefile-lossless

README

Lossless parser for Makefiles

This crate provides a lossless parser for makefiles, creating a modifiable CST.

Example:


let mf = Makefile::read("Makefile").unwrap();

println!("Rules in the makefile: {:?}", mf.rules().map(|r| r.targets().join(" ")).collect::<Vec<_>>());
Commit count: 58

cargo fmt