rabbitsay 0.1.0

Say (possibly mean) things with a cute rabbit
Documentation
  • Coverage
  • 100%
    11 out of 11 items documented7 out of 7 items with examples
  • Size
  • Source code size: 27.62 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 1.75 MB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 36s Average build duration of successful builds.
  • all releases: 36s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • Cbeck527/rabbitsay
    6 0 0
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • Cbeck527

RabbitSay

Rust CI Release License: MIT

Say (possibly mean) things with a cute rabbit.

Installation

# From source
cargo install rabbitsay

# From source
cargo install --path .

Or download from the releases page.

Usage

$ rabbitsay "Hello, world!"
┌─────────────────┐
│  Hello, world!  │
└─────────────────┘
 (\__/) ||
 (•ㅅ•) ||
 /   づ

CLI Options

Usage: rabbitsay [OPTIONS] <MESSAGE>

Arguments:
  <MESSAGE>  Message on the rabbit's sign

Options:
  -p, --padding <PADDING>      Padding around the message [default: 4]
  -w, --max-width <MAX_WIDTH>  Maximum width of the sign [default: 16]
  -h, --help                   Print help
  -V, --version                Print version

As a Library

Add to your Cargo.toml:

[dependencies]
rabbitsay = { git = "https://github.com/Cbeck527/rabbitsay" }

Use in your code:

use rabbitsay::say;

fn main() {
    let output = say("Hello from Rust!");
    println!("{}", output);
}