-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
46 lines (38 loc) · 926 Bytes
/
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
35
36
37
38
39
40
41
42
43
44
45
46
[package]
name = "xiangting"
description = "A library for calculating the deficiency number (a.k.a. xiangting number, 向聴数)."
version = "2.0.6"
authors = ["Apricot S."]
edition = "2021"
license = "MIT"
readme = "README.md"
repository = "https://github.com/Apricot-S/xiangting"
keywords = ["mahjong", "shanten", "xiangting"]
categories = ["algorithms"]
[lib]
name = "xiangting"
path = "src/lib.rs"
[dependencies]
thiserror = "2.0.0"
[dev-dependencies]
criterion = "0.5.1"
cxx = "1.0.128"
mt19937 = "2.0.1"
rand = "0.8.5"
[build-dependencies]
cxx-build = { version = "1.0.128", optional = true }
[features]
build-file = []
build-map = ["build-file"]
correctness = ["dep:cxx-build"]
[[bin]]
name = "build-table"
path = "src/bin/build_table.rs"
required-features = ["build-file"]
[[bin]]
name = "build-map"
path = "src/bin/build_map/main.rs"
required-features = ["build-map"]
[[bench]]
name = "bench"
harness = false