dinosay 0.1.0

A friendly dinosaur to speak your text
Documentation
  • Coverage
  • 0%
    0 out of 3 items documented0 out of 2 items with examples
  • Size
  • Source code size: 5.43 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 243.67 kB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 9s Average build duration of successful builds.
  • all releases: 9s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • Josh-Liddell/dinosay
    0 0 0
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • Josh-Liddell

Dinosay

In this project I demonstrate defining and implementing a custom trait in Rust, named Dinosay, to extend built in string types. The trait adds a method that formats a given text into a wrapped speech box and displays it alongside an ASCII dinosaur figure.

Usage:

cargo install dinosay
dinosay 'Hello world!'

OR

cargo add dinosay
use dinosay::Dinosay;

fn main() {
    "Hello Friends!".dinosay();
}