2 releases

✓ Uses Rust 2018 edition

0.1.1 Dec 16, 2019
0.1.0 Dec 15, 2019

#50 in Build Utils

MIT/Apache

18KB
102 lines

Cargo Emit

Crates.io Downloads Build Status rustc ^1.31.0
Become a Patron! Buy me a coffee

Talk to Cargo easily at build time, brought to you by Nikolai Vazquez.

This library provides:

  • Convenience macros for communicating with Cargo during the build.rs phrase. Cargo listens to certain build script outputs that dictate how it should behave.

  • An accessible location for seeing what script build outputs are available to emit.

  • Protection against typos that can be made when printing these formatted outputs directly yourself. Mistyping macro names will result in a compile failure.

Usage

This crate exposes the following macros:

License

This project is released under either:

No runtime deps