-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathCargo.toml
More file actions
45 lines (40 loc) · 1.04 KB
/
Cargo.toml
File metadata and controls
45 lines (40 loc) · 1.04 KB
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
35
36
37
38
39
40
41
42
43
44
45
[package]
name = "riichi-tools-rs"
version = "0.0.73"
authors = ["harphield <harphield@protonmail.com>"]
edition = "2018"
license = "MIT"
description = "Riichi Mahjong tools library, mostly for WASM"
homepage = "https://riichi.harphield.com/tools/"
repository = "https://github.com/harphield/riichi-tools-rs"
readme = "README.md"
keywords = ["riichi", "mahjong", "wasm"]
exclude = [
".travis.yml",
".github",
".gitignore",
]
[lib]
crate-type = ["lib"]
[dependencies]
enum-iterator = "0.6"
wasm-bindgen = "0.2"
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
rand = { version = "0.7" }
console_error_panic_hook = "0.1.6"
regex = "1.5"
lazy_static = "1.4.0"
rust-embed = { version = "5.9.0", optional = true }
[dev-dependencies]
criterion = "0.3.4"
[features]
#default = ["fast_shanten"]
# uses a better and faster shanten & ukeire algorithm, but makes the binary larger, because it uses lookup tables.
fast_shanten = ["rust-embed"]
[[bench]]
name = "shanten"
harness = false
[[bench]]
name = "hand_from_text"
harness = false