Cargo Features

[dependencies]
tantivy-nightly = { version = "0.17.0", default-features = false, features = ["mmap", "brotli-compression", "lz4-compression", "snappy-compression", "failpoints", "unstable", "quickwit"] }
default = lz4-compression, mmap

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

mmap default = fs2, memmap2, tempfile
brotli-compression = brotli
lz4-compression default = lz4_flex
snappy-compression = snap
failpoints

Enables failpoints of fail

unstable

useful for benches.

quickwit = serde_cbor

Affects file_slice::FileHandle.read_bytes_async, error::AsyncIoError, tantivy-nightly::AsyncIoResult

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.

memmap2 mmap

Enables memmap2 ^0.5.3

lz4_flex lz4-compression

Enables lz4_flex ^0.9.2

brotli brotli-compression?

Enables brotli ^3.3.4

snap snappy-compression?
tempfile mmap
fs2 mmap
serde_cbor quickwit?