Files
Mortal-Copied/libriichi/Cargo.toml
e2hang b7a7d7404a
Some checks failed
deploy-docs / build (push) Has been cancelled
build-libriichi / build (push) Has been cancelled
Mortal
2025-10-07 20:30:03 +08:00

54 lines
1.1 KiB
TOML

[package]
name = "libriichi"
version = "0.1.0"
edition = "2024"
license = "AGPL-3.0-or-later"
[lib]
name = "riichi"
crate-type = ["cdylib", "rlib"]
[dependencies]
anyhow = "1"
log = "0.4"
pyo3-log = "0.12"
serde_json = "1"
boomphf = "0.6"
byteorder = "1"
rayon = "1"
ndarray = "0.16"
numpy = "0.25"
serde_with = "3"
rand = "0.9"
rand_chacha = "0.9"
flate2 = "1"
sha3 = "0.10"
glob = "0.3"
derivative = "2"
ahash = "0.8"
parking_lot = "0.12"
crossbeam = "0.8"
pyo3 = { version = "0.25", features = ["auto-initialize", "multiple-pymethods", "anyhow"] }
indicatif = { version = "0.17", features = ["rayon"] }
tinyvec = { version = "1", features = ["alloc", "serde", "rustc_1_57"] }
serde = { version = "1", features = ["derive"] }
derive_more = { version = "2", features = ["add", "add_assign", "sum"] }
mimalloc = { version = "0.1", default-features = false, optional = true }
[build-dependencies]
pyo3-build-config = "0.25"
[dev-dependencies]
criterion = "0.6"
[[bench]]
name = "bench"
harness = false
[features]
default = ["pymod", "mimalloc"]
mimalloc = ["dep:mimalloc"]
pymod = ["pyo3/extension-module"]
abi3 = ["pyo3/abi3"]
sp_reproduce_cpp_ver = []