29 releases

0.11.1 May 10, 2022
0.10.4 Jul 11, 2021
0.9.0 Aug 19, 2020
0.8.0 Apr 3, 2020
0.1.6 Jul 18, 2019

#597 in Math


Used in cmice

AGPL-3.0-or-later

255KB
5.5K SLoC

docs.rs

First, a note.

It is recommended to always use cargo-crev to verify the trustworthiness of each of your dependencies, including this one.

mice, messing with dice

Dice Language

Some valid expressions in the dice language implemented by this crate:

  • 2d6 + 3
  • 9d8 + 4d2 - 5 - 8d7

Bouncing Dice [TODO]

Exploding Dice [TODO]


lib.rs:

mice, messing with dice

This crate is written primarily for my own usage, and will likely obtain extensions related to games that I play.

Dependencies

~3.5–5MB
~89K SLoC