1 unstable release
0.1.0 | May 20, 2024 |
---|
#5 in #dice-rolling
6KB
130 lines
Libdice
Example usage
let text = "10d20 + 5";
let results = libdice::load(text);
println!("{:#?}", results);
Dependencies
~2.1–2.8MB
~57K SLoC
A package for parsing simple dice-rolling expressions
0.1.0 | May 20, 2024 |
---|
#5 in #dice-rolling
6KB
130 lines
let text = "10d20 + 5";
let results = libdice::load(text);
println!("{:#?}", results);
~2.1–2.8MB
~57K SLoC