include-cargo-toml

Crates.ioinclude-cargo-toml
lib.rsinclude-cargo-toml
version0.1.0
sourcesrc
created_at2022-01-06 18:18:54.379016
updated_at2022-01-06 18:18:54.379016
descriptionLoad properties of Cargo.toml at compile time
homepage
repositoryhttps://github.com/cpu-runtime/include-cargo-toml
max_upload_size
id509112
size10,845
CPU Runtime (cpu-runtime)

documentation

https://docs.rs/include-cargo-toml/

README

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.

Commit count: 3

cargo fmt