| Crates.io | ferris_print |
| lib.rs | ferris_print |
| version | 0.1.0 |
| created_at | 2018-03-12 13:20:31.269659+00 |
| updated_at | 2018-03-12 13:20:31.269659+00 |
| description | A simple macro to print using ferris say. |
| homepage | https://github.com/kimond/ferris-print |
| repository | https://github.com/kimond/ferris-print |
| max_upload_size | |
| id | 55158 |
| size | 4,784 |
A simple macro to print using ferris say.
Sometime I am bored with the classic println!. But with ferrisprint! my output is more exiting.
Put the following in you Cargo.toml:
[dependencies]
ferris_print = "0.1"
Then import the crate with:
#[macro_use]
extern crate ferris_print;
#[macro_use]
extern crate ferris_print;
fn main() {
ferrisprint!("Hello world");
}
The code above will print out this:
----------------------------
| Hello world |
----------------------------
\
\
_~^~^~_
\) / o o \ (/
'_ - _'
/ '-----' \