Cargo Features
[dependencies]
summavy = { version = "0.25.3", default-features = false, features = ["mmap", "stopwords", "brotli-compression", "lz4-compression", "snappy-compression", "zstd-compression", "failpoints", "unstable", "quickwit"] }
- default = lz4-compression, mmap, stopwords
-
These default features are set whenever
summavy
is added without
somewhere in the dependency tree.default-features = false - mmap default = fs2, memmap2, tempfile
- stopwords default
- brotli-compression = brotli
- lz4-compression default = lz4_flex
- snappy-compression = snap
- zstd-compression = zstd
- failpoints
-
Enables failpoints of fail
- unstable
-
useful for benches.
- quickwit = sstable
-
Enables quickwit of summavy-common
Affects
collector::Collector.collect_segment_async
,directory::Directory.atomic_read_async
,query::Query.weight_async
,query::Query.count_async
,weight::Weight.scorer_async
,weight::Weight.count_async
,weight::Weight.for_each_async
,weight::Weight.for_each_no_score_async
,weight::Weight.for_each_pruning_async
…
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
- zstd zstd-compression?
-
Enables zstd ^0.12
- snap snappy-compression?
- tempfile mmap
- fs2 mmap
- sstable quickwit?
-
Enables summavy-sstable