#print #ferris #say #macro

ferris_print

A simple macro to print using ferris say

1 unstable release

Uses old Rust 2015

0.1.0 Mar 12, 2018

#5 in #ferris

Download history 17/week @ 2023-08-06 21/week @ 2023-08-13 9/week @ 2023-08-20 10/week @ 2023-08-27 19/week @ 2023-09-03 16/week @ 2023-09-10 14/week @ 2023-09-17 9/week @ 2023-09-24 17/week @ 2023-10-01 12/week @ 2023-10-08 18/week @ 2023-10-15 14/week @ 2023-10-22 14/week @ 2023-10-29 15/week @ 2023-11-05 16/week @ 2023-11-12 13/week @ 2023-11-19

60 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

~0.7–1.4MB
~25K SLoC