# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO # # When uploading crates to the registry Cargo will automatically # "normalize" Cargo.toml files for maximal compatibility # with all versions of Cargo and also rewrite `path` dependencies # to registry (e.g., crates.io) dependencies. # # If you are reading this file be aware that the original Cargo.toml # will likely look very different (and much more reasonable). # See Cargo.toml.orig for the original contents. [package] edition = "2021" name = "dice-roll" version = "0.1.1" authors = ["Robin Marchart "] description = "small library to parse dice expressions and evaluate them" license = "Apache-2.0" repository = "https://github.com/RobinMarchart/dice-roll" resolver = "2" [dependencies.log] version = "^0.4.14" optional = true [dependencies.nom] version = "^6.1.2" optional = true [dependencies.rand] version = "^0.8.3" optional = true [dependencies.serde] version = "^1.0.124" features = ["derive"] optional = true [features] default = [ "parser", "roll", ] logging = [ "log", "rand/log", ] parser = ["nom"] roll = ["rand"]