forked from m4tx/riichi-hand-rs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
34 lines (31 loc) · 1.17 KB
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
[package]
name = "riichi_hand"
version = "0.1.0"
authors = ["Mateusz Maćkowski <[email protected]>"]
edition = "2018"
license = "MIT"
description = "A collection of utilities for working with Riichi Mahjong player hands"
homepage = "https://github.com/m4tx/riichi-hand-rs"
repository = "https://github.com/m4tx/riichi-hand-rs"
documentation = "https://docs.rs/riichi_hand"
readme = "README.md"
categories = ["game-engines", "parser-implementations", "rendering"]
keywords = ["riichi", "mahjong", "renderer"]
exclude = [
".github",
".gitignore",
"examples/"
]
[dependencies]
image = { version = "0.23", default-features = false, optional = true }
lazy_static = { version = "1.4.0", optional = true }
[build-dependencies]
image = { version = "0.23", default-features = false, optional = true }
rayon = { version = "1.5.1", optional = true }
resvg = { version = "0.20.0", optional = true }
tiny-skia = { version = "0.6.2", optional = true }
usvg = { version = "0.20.0", optional = true }
[features]
default = ["raster-renderer", "fluffy-stuff-tile-sets"]
raster-renderer = ["image"]
fluffy-stuff-tile-sets = ["image/png", "rayon", "resvg", "tiny-skia", "usvg", "lazy_static"]