-
-
Notifications
You must be signed in to change notification settings - Fork 43
/
Cargo.toml
45 lines (38 loc) · 1.25 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
35
36
37
38
39
40
41
42
43
44
45
[package]
name = "shakmaty"
version = "0.27.2" # remember to update changelog and html_root_url
description = "Chess and chess variant rules and operations"
repository = "https://github.com/niklasf/shakmaty"
readme = "README.md"
license = "GPL-3.0+"
authors = ["Niklas Fiekas <niklas.fiekas@backscattering.de>"]
categories = ["games", "parser-implementations"]
keywords = ["chess", "lichess"]
edition = "2021"
rust-version = "1.75" # remember to update test.yml
[features]
default = ["std"]
alloc = []
std = ["alloc", "btoi/std", "nohash-hasher?/std"]
variant = []
nohash-hasher = ["dep:nohash-hasher"]
[[bench]]
name = "benches"
harness = false
[lib]
bench = false
[dependencies]
bitflags = "2.0.0"
btoi = { version = "0.4", default-features = false }
arrayvec = { version = "0.7", default-features = false }
nohash-hasher = { version = "0.2", default-features = false, optional = true }
[dev-dependencies]
csv = "1.3"
iai = { version = "0.1", git = "https://github.com/sigaloid/iai", rev = "d56a5971f6d5556cd9e9b92e7e0f753c9ce9cdc7" }
serde = { version = "1.0.197", features = ["derive"] }
serde_with = "3.6.1"
[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docs_rs"]
[lints.rust]
unexpected_cfgs = { level = "warn", check-cfg = ["cfg(docs_rs)"] }