Cargo Features

Rustbreak has no features set by default.

[dependencies]
rustbreak = { version = "2.0.0", features = ["ron_enc", "bin_enc", "yaml_enc", "other_errors", "mmap"] }
ron_enc = ron
bin_enc = base64, bincode
yaml_enc = serde_yaml
other_errors = anyhow
mmap = memmap

Affects rustbreak::MmapDatabase

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.

anyhow other_errors?
base64 bin_enc?

Enables base64 ^0.12

bincode bin_enc?
memmap mmap?
ron ron_enc?

Enables ron ^0.6

serde_yaml yaml_enc?

Enables serde_yaml ^0.8.5