Cargo Features

[dependencies]
riichi = { version = "0.1.0", default-features = false, features = ["static-lut", "serde", "tenhou-log-json", "env_logger", "glob"] }
default = serde, tenhou-log-json

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

static-lut

Enables static-lut of riichi-decomp

serde default tenhou-log-json

Enables serde, serde-big-array ^0.4, serde_json, serde_tuple ^0.5.0, and serde_with ^2.0 and serde of riichi-decomp and riichi-elements

riichi-elements:

internal

tenhou-log-json default = serde

Enables rand and regex

Affects interop::tenhou_log_json

Features from optional dependencies

env_logger implicit feature

Enables env_logger ^0.9

env_logger:

A logging implementation for log which is configured via an environment variable

Required by the run_tenhou_logs binary

glob implicit feature

Enables glob

glob:

Support for matching file paths against Unix shell style patterns

Required by the run_tenhou_logs binary