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

#389 in Algorithms

Download history 18/week @ 2023-01-18 21/week @ 2023-01-25 15/week @ 2023-02-01 68/week @ 2023-02-08 106/week @ 2023-02-15 4/week @ 2023-02-22 5/week @ 2023-03-01 9/week @ 2023-03-08 7/week @ 2023-03-15 62/week @ 2023-03-22 7/week @ 2023-03-29 40/week @ 2023-04-05 71/week @ 2023-04-12 2/week @ 2023-04-19 11/week @ 2023-04-26 78/week @ 2023-05-03

162 downloads per month
Used in cmice

AGPL-3.0-or-later

250KB
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

~4MB
~78K SLoC