Skip to content
No description, website, or topics provided.
Rust
Branch: master
Clone or download

Latest commit

Fetching latest commit…
Cannot retrieve the latest commit at this time.

Files

Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
src
.gitignore
Cargo.toml
LICENSE-APACHE
LICENSE-MIT
README.md

README.md

tiny_die

this tiny crate provides the means of incorporating die rolls into your own project. uses no_std.

example

use tiny_die::Die;

fn main() {
    let dee_six: Die = Die::new(6);
    // or you can use Die::default(), you'll get the same d6
    println!("rolled a {}", dee_six.roll());
}

License

Licensed under either of

at your option.

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.

You can’t perform that action at this time.