#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

#806 in Procedural macros

Download history 10/week @ 2024-07-22 8/week @ 2024-07-29 4/week @ 2024-08-19 37/week @ 2024-09-02 16/week @ 2024-09-09 28/week @ 2024-09-16 104/week @ 2024-09-23 31/week @ 2024-09-30 33/week @ 2024-10-07 18/week @ 2024-10-14 16/week @ 2024-10-21 29/week @ 2024-11-04

65 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