Cargo Features
[dependencies]
serde_avro_fast = { version = "2.0.0", default-features = false, features = ["deflate", "snappy", "xz", "zstandard", "bzip2"] }
- default = deflate
-
The
deflate
feature is set by default wheneverserde_avro_fast
is added without
somewhere in the dependency tree.default-features = false - deflate default = flate2
- snappy = crc32fast, snap
- xz = xz2
- zstandard = zstd
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.