include-cargo-toml2 0.3.1

Load properties of Cargo.toml at compile time
Documentation
1
2
3
4
5
6
7
8
9
# 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](https://crates.io/crates/clap) might be a little bit of an overload in some cases.

**This crate is a fork of include-cargo-toml https://github.com/cpu-runtime/include-cargo-toml.**