Cargo Features

[dependencies]
vpb = { version = "0.1.0", default-features = false, features = ["std", "full", "js", "aes", "aes-std", "sea", "sea-std", "xxhash64", "xxhash64-std", "snappy", "zstd", "lz4", "lz4-std", "serde"] }
default = std

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

std default full? snappy? zstd?

Enables kvstructs, std of crc32fast, std of prost ^0.11

full = aes-std, lz4-std, sea-std, snappy, std, xxhash64-std, zstd
js

Enables js of getrandom

getrandom:

Feature to enable JavaScript bindings on wasm*-unknown-unknown

aes aes-std?

enable aes encryption

Enables zeroize of aes and ctr

Affects encrypt::Aes128Ctr, encrypt::Aes192Ctr, encrypt::Aes256Ctr, encrypt::AesError

aes-std full? = aes

Enables rand, std of ctr

Affects encrypt::Aes128Ctr, encrypt::Aes192Ctr, encrypt::Aes256Ctr, encrypt::AesError

sea sea-std? = seahash

enable seahash checksum

Enables spin_no_std of lazy_static

Affects checksum::sea

sea-std full? = lazy_static, sea

Enables use_std of seahash

Affects checksum::sea

xxhash64 xxhash64-std?

enable xxhash64 checksum

Enables spin_no_std of lazy_static, xxh64 of xxhash-rust

Affects checksum::xxhash64

xxhash64-std full? = lazy_static, xxhash64

Enables rand

Affects checksum::xxhash64

snappy full? = snap, std

enable snappy compression

zstd full? = std, zstd_compression

enable zstd compression

lz4 lz4-std? = lz4_flex

enable lz4 compression

Affects compression::Lz4Error

lz4-std full? = lz4

Enables lz4_flex ^0.9

Affects compression::Lz4Error

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.

ctr aes? aes-std?
getrandom js?
kvstructs std
lazy_static sea? sea-std? xxhash64? xxhash64-std?
lz4_flex lz4? lz4-std?

Enables lz4_flex ^0.9

seahash sea? sea-std?
serde implicit feature

Enables serde

serde:

A generic serialization/deserialization framework

snap snappy?
xxhash-rust xxhash64?
zstd_compression zstd?

Enables zstd ^0.11.2