Cargo Features

[dependencies]
dbcomprs = { version = "0.2.1", default-features = false, features = ["std", "snappy", "zstd", "lz4", "lz4-std", "prost", "serde"] }
default = lz4, snappy, std

These default features are set whenever dbcomprs is added without default-features = false somewhere in the dependency tree.

std default snappy zstd?

Enables std of bytes

snappy default = snap, std

enable snappy compression

zstd = std, zstd_compression

enable zstd compression

lz4 default lz4-std? = lz4_flex

enable lz4 compression

Affects dbcomprs::Lz4Error

lz4-std = lz4

Enables lz4_flex ^0.10

Affects dbcomprs::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.

prost implicit feature

Enables prost ^0.11

prost:

A Protocol Buffers implementation for the Rust Language

serde implicit feature

Enables serde

serde:

A generic serialization/deserialization framework

lz4_flex lz4 lz4-std?

Enables lz4_flex ^0.10

snap snappy
zstd_compression zstd?

Enables zstd ^0.12.3