1 unstable release
0.1.0 | Jan 6, 2022 |
---|
#274 in #cargo-toml
228 downloads per month
9KB
102 lines
Parse all properties of Cargo.toml
at compile time
This Rust crate provides a macro to parse Cargo.toml
.
This can be useful to implement a --version
flag that does not need to be updated manually each time a new version is released.
Using clap might be a little bit of an overload in some cases.
lib.rs
:
This crate provides a macro called include_toml!
which parses properties of Cargo.toml
at compile time.
Dependencies
~2MB
~48K SLoC