10 releases (2 stable)
1.0.1 | Apr 11, 2021 |
---|---|
1.0.0 | Apr 10, 2021 |
0.2.3 | Apr 10, 2021 |
0.2.2 | Jan 6, 2021 |
0.1.6 | Dec 18, 2020 |
#222 in Video
Used in 2 crates
55KB
102 lines
beemovie-rs
Bee Movie crate.
Usage
Put this in your Cargo.toml
beemovie = '1.0.1'
Documentation
sentence()
This function returns a sentence or two from the bee movie.
extern crate beemovie;
fn main() {
println!("Sentence: {}", beemovie::sentence(1));
}
script()
This function returns the entire Bee Movie script.
extern crate beemovie;
fn main() {
println!("{}", beemovie::script());
}
word()
This function returns a word from the Bee Movie.
extern crate beemovie;
fn main() {
println!("Word: {}", beemovie::word(1));
}
paragraph()
This function returns a paragraph from the Bee Movie.
extern crate beemovie;
fn main() {
println!("Paragraph: {}", beemovie::paragraph(1));
}
Dependencies
~310KB