#cargo-toml #macro #env #fields #prettier #convinient #pulling

cargo-toml-macros

Convinient macros for pulling fields from your Cargo.toml. Prettier than std::env

2 stable releases

1.0.1 Oct 1, 2020
1.0.0 Aug 13, 2020

#615 in Procedural macros

Download history 4/week @ 2023-12-18 2/week @ 2024-01-29 19/week @ 2024-02-19 19/week @ 2024-02-26 6/week @ 2024-03-04 20/week @ 2024-03-11 4/week @ 2024-03-18

52 downloads per month

CC0 license

5KB

cargo-toml-macros

Very clap inspired macros.

With one line of code, you get access to six fun and exciting macros!

use cargo_toml_macros::*;

crate_version!();
crate_authors!();
crate_name!();
crate_description!();
crate_homepage!();
crate_repository!();

Take a peak at lib.rs and see how much time you'll save using this crate! Joking aside, all this crate does is call the std::env with the right variable name for each macro.

No runtime deps