[package] name = "dice-roll" version = "0.1.1" authors = ["Robin Marchart "] edition = "2021" license = "Apache-2.0" repository = "https://github.com/RobinMarchart/dice-roll" description = "small library to parse dice expressions and evaluate them" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] rand = {version = "^0.8.3", optional=true} nom = {version = "^6.1.2", optional=true} serde = {version = "^1.0.124", optional=true,features=["derive"]} log = {version = "^0.4.14", optional=true} [features] default = ["parser","roll"] parser = ["nom"] roll = ["rand"] logging = ["log", "rand/log"]