46 lines
1.1 KiB
TOML
46 lines
1.1 KiB
TOML
[package]
|
|
name = "server"
|
|
version = "0.1.0"
|
|
edition = "2024"
|
|
license = "MIT"
|
|
repository = "git@github.com:boardgamers/clash.git"
|
|
homepage = "https://www.boardgamers.space/"
|
|
description = "A server for Clash of Cultures"
|
|
|
|
[lib]
|
|
name = "server"
|
|
crate-type = ["cdylib", "rlib"]
|
|
|
|
[[bin]]
|
|
name = "api_tool"
|
|
path = "src/api_tool/bin/main.rs"
|
|
|
|
[dependencies]
|
|
hex2d = "1.1.0"
|
|
serde = { version = "1.0.219", features = ["derive"] }
|
|
serde_json = "1.0.140"
|
|
sha2 = "0.10"
|
|
wasm-bindgen = "0.2.100"
|
|
async-std = "1.13.1"
|
|
wasm-bindgen-futures = "0.4.50"
|
|
serde-wasm-bindgen = "0.6.5"
|
|
itertools = "0.14.0"
|
|
console_error_panic_hook = "0.1.7"
|
|
num = "0.4"
|
|
json-patch = "4.0.0"
|
|
pathfinding = "4.14.0"
|
|
num_cpus = "1.16.0"
|
|
enumset = { version = "1.1.6" }
|
|
rustc-hash = "2.1.1"
|
|
pyroscope = { version = "2.0.0", optional = true }
|
|
pyroscope_pprofrs = { version = "0.2.10", optional = true }
|
|
chrono = "0.4.41"
|
|
string-builder = "0.2.0"
|
|
|
|
[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
|
|
tokio = { version = "1.45.0", features = ["full"]}
|
|
|
|
[features]
|
|
profiling = ["dep:pyroscope", "dep:pyroscope_pprofrs"]
|
|
|
|
|