#cargo #fields #package #cargo-manifest #derive #manifest

macro package_info_derive

Derive macro for exposing Cargo Package Information to Rust code

1 unstable release

0.1.0 Sep 11, 2021

#23 in #cargo-manifest

Download history 158/week @ 2024-07-25 150/week @ 2024-08-01 58/week @ 2024-08-08 66/week @ 2024-08-15 100/week @ 2024-08-22 217/week @ 2024-08-29 107/week @ 2024-09-05 248/week @ 2024-09-12 130/week @ 2024-09-19 74/week @ 2024-09-26 240/week @ 2024-10-03 524/week @ 2024-10-10 163/week @ 2024-10-17 427/week @ 2024-10-24 390/week @ 2024-10-31 194/week @ 2024-11-07

1,202 downloads per month
Used in 3 crates

MIT license

7KB
129 lines

Derive macros for exposing Cargo Package information in Rust apps run as binaries

Values are taken from environment variables exported by Cargo @see https://doc.rust-lang.org/cargo/reference/environment-variables.html#environment-variables-cargo-sets-for-crates

Dependencies

~1.5MB
~36K SLoC