2 releases
Uses old Rust 2015
0.1.1 | May 9, 2017 |
---|---|
0.1.0 | May 9, 2017 |
#19 in #utility-macro
2KB
stdmacros
stdmacros is a simple Rust library that gives you helper macros for STDOUT and STDERR, similarly to print
.
Pros:
- Skip formatter you don't use.
- Print to STDERR easily.
Cons:
- Uses a library for such a basic task...
Usage
Assuming you know how to actually install the crate,
import it, but you must also specify #[macro_use]
.
e.g.
#[macro_use]
extern crate stdmacros