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
somewhere in the dependency tree.default-features = false - raster-renderer default = image
-
Affects
riichi_hand::raster_renderer
… - fluffy-stuff-tile-sets default = lazy_static, rayon, resvg, tiny-skia, usvg
-
Affects
raster_renderer::fluffy_stuff_tile_sets
… - martin-persson-tile-sets default = lazy_static
-
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