build-pretty
This lib crate is one of workarround solution for log displaying of Build Scripts issue such as rust-lang/cargo#985.
Usage
- Add
build-prettydependency in[build-dependencies]of your project'sCargo.toml
[]
...
= "build.rs"
...
[]
= "*"
- Write your
build.rswithbuild-pretty:
use ;
and then:
Examples:
Features:
std::process::Commandrunner with STDOUT/STRERR log capturing!Fnrunner withStringoutput capturing!cargo_warning_ln!macro, it's also to Build Script versionprintln!.- runtime message customize feature. on/off, change message detail as your like with easy template keywords.
- i18n subsystem support. (using rust-i18n)
- Currently supported: en ja
- Welcome your additional language support PR!๐
LICENSE
Author
- USAGI.NETWORK / Usagi Ito https://github.com/usagi/