stdmacros

Crates.iostdmacros
lib.rsstdmacros
version0.1.1
sourcesrc
created_at2017-05-09 15:58:54.696079
updated_at2017-05-09 16:04:05.504495
descriptionSimple STDOUT and STDERR utility macros.
homepage
repositoryhttps://github.com/legolord208/stdmacros
max_upload_size
id13892
size2,439
jD91mZM2 (jD91mZM2)

documentation

README

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
Commit count: 0

cargo fmt