| Crates.io | dinosay |
| lib.rs | dinosay |
| version | 0.1.0 |
| created_at | 2025-11-05 15:28:40.742021+00 |
| updated_at | 2025-11-05 15:28:40.742021+00 |
| description | A friendly dinosaur to speak your text |
| homepage | |
| repository | https://github.com/josh-liddell/dinosay |
| max_upload_size | |
| id | 1918161 |
| size | 5,431 |
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.
cargo install dinosay
dinosay 'Hello world!'
OR
cargo add dinosay
use dinosay::Dinosay;
fn main() {
"Hello Friends!".dinosay();
}