Skip to content

Latest commit

 

History

History
52 lines (41 loc) · 1.07 KB

README.md

File metadata and controls

52 lines (41 loc) · 1.07 KB

magma-says

A magam implementation for classic cowsay

Usage

Add in your Cargo.toml:

[dependencies]
magma-says = "0.1"

Then in your main file or where you plan to use:

use magma_says;

fn main() {
    let out = "Hello Rustaceans!";

    magma_says::say(out);
}

This will print out when run:

-----------------
Hello Rustaceans!
-----------------

        \
         \
      ..................................
        ................................
         ..........###..................
          ........#####.................
            ......(###,.................
             .......#...................
             //...........((............
            ////........,((((...........
          /////// .....((((((,..........
         //////    ...((((((............
       *//////      ((((((/.............
      //////       ((((((......####.....
    .//////      (((((((......######....
   //////,      ...(((.........#######..
  //////       .....(............######.
             ...........................
               #WeAreMAGMA