mirror of
https://github.com/quickwit-oss/tantivy.git
synced 2025-12-27 12:32:55 +00:00
132 lines
3.7 KiB
TOML
132 lines
3.7 KiB
TOML
[package]
|
|
name = "tantivy"
|
|
version = "0.19.0"
|
|
authors = ["Paul Masurel <paul.masurel@gmail.com>"]
|
|
license = "MIT"
|
|
categories = ["database-implementations", "data-structures"]
|
|
description = """Search engine library"""
|
|
documentation = "https://docs.rs/tantivy/"
|
|
homepage = "https://github.com/quickwit-oss/tantivy"
|
|
repository = "https://github.com/quickwit-oss/tantivy"
|
|
readme = "README.md"
|
|
keywords = ["search", "information", "retrieval"]
|
|
edition = "2021"
|
|
rust-version = "1.62"
|
|
|
|
[dependencies]
|
|
oneshot = "0.1.5"
|
|
base64 = "0.21.0"
|
|
byteorder = "1.4.3"
|
|
crc32fast = "1.3.2"
|
|
once_cell = "1.10.0"
|
|
regex = { version = "1.5.5", default-features = false, features = ["std", "unicode"] }
|
|
aho-corasick = "0.7"
|
|
tantivy-fst = "0.4.0"
|
|
memmap2 = { version = "0.5.3", optional = true }
|
|
lz4_flex = { version = "0.9.2", default-features = false, features = ["checked-decode"], optional = true }
|
|
brotli = { version = "3.3.4", optional = true }
|
|
zstd = { version = "0.12", optional = true, default-features = false }
|
|
snap = { version = "1.0.5", optional = true }
|
|
tempfile = { version = "3.3.0", optional = true }
|
|
log = "0.4.16"
|
|
serde = { version = "1.0.136", features = ["derive"] }
|
|
serde_json = "1.0.79"
|
|
num_cpus = "1.13.1"
|
|
fs2 = { version = "0.4.3", optional = true }
|
|
levenshtein_automata = "0.2.1"
|
|
uuid = { version = "1.0.0", features = ["v4", "serde"] }
|
|
crossbeam-channel = "0.5.4"
|
|
rust-stemmers = "1.2.0"
|
|
downcast-rs = "1.2.0"
|
|
bitpacking = { version = "0.8.4", default-features = false, features = ["bitpacker4x"] }
|
|
census = "0.4.0"
|
|
rustc-hash = "1.1.0"
|
|
thiserror = "1.0.30"
|
|
htmlescape = "0.3.1"
|
|
fail = "0.5.0"
|
|
murmurhash32 = "0.2.0"
|
|
time = { version = "0.3.10", features = ["serde-well-known"] }
|
|
smallvec = "1.8.0"
|
|
rayon = "1.5.2"
|
|
lru = "0.9.0"
|
|
fastdivide = "0.4.0"
|
|
itertools = "0.10.3"
|
|
measure_time = "0.8.2"
|
|
async-trait = "0.1.53"
|
|
arc-swap = "1.5.0"
|
|
|
|
columnar = { version="0.1", path="./columnar", package ="tantivy-columnar" }
|
|
sstable = { version="0.1", path="./sstable", package ="tantivy-sstable", optional = true }
|
|
stacker = { version="0.1", path="./stacker", package ="tantivy-stacker" }
|
|
tantivy-query-grammar = { version= "0.19.0", path="./query-grammar" }
|
|
tantivy-bitpacker = { version= "0.3", path="./bitpacker" }
|
|
common = { version= "0.5", path = "./common/", package = "tantivy-common" }
|
|
tokenizer-api = { version="0.1", path="./tokenizer-api", package="tantivy-tokenizer-api" }
|
|
|
|
[target.'cfg(windows)'.dependencies]
|
|
winapi = "0.3.9"
|
|
|
|
[dev-dependencies]
|
|
rand = "0.8.5"
|
|
maplit = "1.0.2"
|
|
matches = "0.1.9"
|
|
pretty_assertions = "1.2.1"
|
|
proptest = "1.0.0"
|
|
criterion = "0.4"
|
|
test-log = "0.2.10"
|
|
env_logger = "0.10.0"
|
|
pprof = { version = "0.11.0", features = ["flamegraph", "criterion"] }
|
|
futures = "0.3.21"
|
|
|
|
[dev-dependencies.fail]
|
|
version = "0.5.0"
|
|
features = ["failpoints"]
|
|
|
|
[profile.release]
|
|
opt-level = 3
|
|
debug = false
|
|
debug-assertions = false
|
|
|
|
[profile.test]
|
|
debug-assertions = true
|
|
overflow-checks = true
|
|
|
|
[features]
|
|
default = ["mmap", "stopwords", "lz4-compression"]
|
|
mmap = ["fs2", "tempfile", "memmap2"]
|
|
stopwords = []
|
|
|
|
brotli-compression = ["brotli"]
|
|
lz4-compression = ["lz4_flex"]
|
|
snappy-compression = ["snap"]
|
|
zstd-compression = ["zstd"]
|
|
|
|
failpoints = ["fail/failpoints"]
|
|
unstable = [] # useful for benches.
|
|
|
|
quickwit = ["sstable"]
|
|
|
|
[workspace]
|
|
members = ["query-grammar", "bitpacker", "common", "ownedbytes", "stacker", "sstable", "tokenizer-api", "columnar"]
|
|
|
|
# Following the "fail" crate best practises, we isolate
|
|
# tests that define specific behavior in fail check points
|
|
# in a different binary.
|
|
#
|
|
# We do that because, fail rely on a global definition of
|
|
# failpoints behavior and hence, it is incompatible with
|
|
# multithreading.
|
|
[[test]]
|
|
name = "failpoints"
|
|
path = "tests/failpoints/mod.rs"
|
|
required-features = ["fail/failpoints"]
|
|
|
|
[[bench]]
|
|
name = "analyzer"
|
|
harness = false
|
|
|
|
[[bench]]
|
|
name = "index-bench"
|
|
harness = false
|
|
|