Cargo Features
[dependencies]
sanakirja = { version = "1.4.3", default-features = false, features = ["std", "crc32", "mmap", "ed25519", "uuid"] }
- default = mmap
-
The
mmap
feature is set by default wheneversanakirja
is added without
somewhere in the dependency tree.default-features = false - std
-
Enables std of sanakirja-core
- crc32 = crc32fast, lazy_static
-
Enables crc32 of sanakirja-core
- mmap default = fs2, memmap2
- ed25519
-
Enables ed25519 of sanakirja-core
- uuid
-
Enables uuid of sanakirja-core
Features from optional dependencies
In crates that don't use the dep:
syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.