#print #say #macro #ferris

ferris_print

A simple macro to print using ferris say

1 unstable release

Uses old Rust 2015

0.1.0 Mar 12, 2018

#9 in #ferris

27 downloads per month
Used in 2 crates

MIT license

4KB

Ferris print

Build Status

A simple macro to print using ferris say.

Why?

Sometime I am bored with the classic println!. But with ferrisprint! my output is more exiting.

Instruction

Put the following in you Cargo.toml:

[dependencies]
ferris_print = "0.1"

Then import the crate with:

#[macro_use]
extern crate ferris_print;

Example

#[macro_use]
extern crate ferris_print;

fn main() {
    ferrisprint!("Hello world");
}

The code above will print out this:

----------------------------
| Hello world              |
----------------------------
              \
               \
                  _~^~^~_
              \) /  o o  \ (/
                '_   -   _'
                / '-----' \

Credits

Dependencies

~3–4MB
~80K SLoC