Skip to content

Latest commit

 

History

History
49 lines (37 loc) · 982 Bytes

README.md

File metadata and controls

49 lines (37 loc) · 982 Bytes

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 exciting.

Instruction

Put the following in you Cargo.toml:

[dependencies]
ferris_print = "0.1"

Then import the crate with:

use ferris_print::ferrisprint;

Example

use ferris_print::ferrisprint;

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

The code above will print out this:

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

Credits