Crates.io | include-cargo-toml2 |
lib.rs | include-cargo-toml2 |
version | 0.3.1 |
source | src |
created_at | 2024-10-15 19:13:01.166381 |
updated_at | 2024-10-16 19:33:02.411624 |
description | Load properties of Cargo.toml at compile time |
homepage | |
repository | https://github.com/slimboyfat/include-cargo-toml2 |
max_upload_size | |
id | 1409914 |
size | 12,552 |
Cargo.toml
at compile timeThis 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.
This crate is a fork of include-cargo-toml https://github.com/cpu-runtime/include-cargo-toml.