Cargo Features

[dependencies]
riichi_hand = { version = "0.6.3", default-features = false, features = ["raster-renderer", "fluffy-stuff-tile-sets", "martin-persson-tile-sets"] }
default = fluffy-stuff-tile-sets, martin-persson-tile-sets, raster-renderer

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

raster-renderer default = image

Affects riichi_hand::raster_renderer

fluffy-stuff-tile-sets default = lazy_static, rayon, resvg, tiny-skia, usvg

Enables png of image

Affects raster_renderer::fluffy_stuff_tile_sets

martin-persson-tile-sets default = lazy_static

Enables png of image

Affects raster_renderer::martin_persson_tile_sets

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.

image fluffy-stuff-tile-sets martin-persson-tile-sets raster-renderer
lazy_static fluffy-stuff-tile-sets martin-persson-tile-sets
rayon build fluffy-stuff-tile-sets
resvg build fluffy-stuff-tile-sets

Enables resvg ^0.40.0

tiny-skia build fluffy-stuff-tile-sets
usvg build fluffy-stuff-tile-sets

Enables usvg ^0.40.0