Cargo Features

[dependencies]
dice-roll = { version = "0.1.1", default-features = false, features = ["parser", "roll", "logging", "serde"] }
default = parser, roll

These default features are set whenever dice-roll is added without default-features = false somewhere in the dependency tree.

parser default = nom

Affects dice-roll::parser

roll default = rand

Affects dice-roll::dice_roll

logging = log

Enables log of rand

rand:

Option: enable logging

Features from optional dependencies

In crates that don't use the dep: syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.

rand logging? roll
nom parser

Enables nom ^6.1.2

serde implicit feature

Enables serde

serde:

A generic serialization/deserialization framework

log logging?