Cargo Features
[dependencies]
shakmaty = { version = "0.27.3", default-features = false, features = ["std", "alloc", "variant", "nohash-hasher", "serde"] }
- default = std
-
The
std
feature is set by default whenevershakmaty
is added without
somewhere in the dependency tree.default-features = false - std default = alloc
-
Enables std of btoi and optional nohash-hasher
- alloc std
-
Enables alloc of optional serde
serde:
Provide impls for types in the Rust core allocation and collections library including String, Box<T>, Vec<T>, and Cow<T>. This is a subset of std but may be enabled without depending on all of std.
- variant
-
Affects
shakmaty::variant
… - nohash-hasher
-
Enables nohash-hasher
- serde
-
Enables serde