Cargo Features

[dependencies]
shakmaty = { version = "0.27.1", default-features = false, features = ["std", "alloc", "variant", "nohash-hasher"] }
default = std

The std feature is set by default whenever shakmaty is added without default-features = false somewhere in the dependency tree.

std default = alloc

Enables std of btoi and optional nohash-hasher

alloc std
variant

Affects shakmaty::variant

nohash-hasher

Enables nohash-hasher