dice_expression 0.1.0

A library to help you parse and execute some dice expressions.
Documentation

Pull Requests welcome code with love by normegil


About

A library to help you parse and execute some dice expressions like:

  • 1d6 + 1
  • 2d20
  • 3d20k2 - 5
  • 10d20>10

Getting Started

Prerequisites

You'll need:

Installation

To use this lib, please execute this in your repository:

cargo add dice_expression

Usage

See docs.rs.

Roadmap

See the open issues for a list of proposed features (and known issues).

Support

Reach out to the maintainer at one of the following places:

Contributing

First off, thanks for taking the time to contribute! Contributions are what make the open-source community such an amazing place to learn, inspire, and create. Any contributions you make will benefit everybody else and are greatly appreciated.

Please read our contribution guidelines, and thank you for being involved!

Authors & contributors

The original setup of this repository is by Olivier Ory.

For a full list of all authors and contributors, see the contributors page.

Security

dice_expression follows good practices of security, but 100% security cannot be assured. dice_expression is provided "as is" without any warranty. Use at your own risk.

For more information and to report security issues, please refer to our security documentation.

License

See LICENSE for more information.