mirror of
https://github.com/quickwit-oss/tantivy.git
synced 2026-01-05 16:52:55 +00:00
110 lines
2.8 KiB
TOML
110 lines
2.8 KiB
TOML
[package]
|
|
name = "tantivy"
|
|
version = "0.14.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/tantivy-search/tantivy"
|
|
repository = "https://github.com/tantivy-search/tantivy"
|
|
readme = "README.md"
|
|
keywords = ["search", "information", "retrieval"]
|
|
edition = "2018"
|
|
|
|
[dependencies]
|
|
base64 = "0.13"
|
|
byteorder = "1"
|
|
crc32fast = "1"
|
|
once_cell = "1"
|
|
regex ={version = "1", default-features = false, features = ["std"]}
|
|
tantivy-fst = "0.3"
|
|
memmap = {version = "0.7", optional=true}
|
|
lz4_flex = { version = "0.7", default-features = false, features = ["checked-decode"], optional=true }
|
|
lz4 = {version="1", optional=true}
|
|
brotli = {version="3.3.0", optional=true}
|
|
snap = {version="1", optional=true}
|
|
tempfile = {version="3", optional=true}
|
|
log = "0.4"
|
|
serde = {version="1", features=["derive"]}
|
|
serde_json = "1"
|
|
num_cpus = "1"
|
|
fs2={version="0.4", optional=true}
|
|
levenshtein_automata = "0.2"
|
|
uuid = { version = "0.8", features = ["v4", "serde"] }
|
|
crossbeam = "0.8"
|
|
futures = {version = "0.3", features=["thread-pool"] }
|
|
tantivy-query-grammar = { version="0.14.0", path="./query-grammar" }
|
|
tantivy-bitpacker = { version="0.1", path="./bitpacker" }
|
|
stable_deref_trait = "1"
|
|
rust-stemmers = "1"
|
|
downcast-rs = "1"
|
|
bitpacking = {version="0.8", default-features = false, features=["bitpacker4x"]}
|
|
census = "0.4"
|
|
fnv = "1"
|
|
thiserror = "1.0"
|
|
htmlescape = "0.3"
|
|
fail = "0.4"
|
|
murmurhash32 = "0.2"
|
|
chrono = "0.4"
|
|
smallvec = "1"
|
|
rayon = "1"
|
|
lru = "0.6"
|
|
fastdivide = "0.3"
|
|
|
|
[target.'cfg(windows)'.dependencies]
|
|
winapi = "0.3"
|
|
|
|
[dev-dependencies]
|
|
rand = "0.8"
|
|
maplit = "1"
|
|
matches = "0.1.8"
|
|
proptest = "1.0"
|
|
criterion = "0.3"
|
|
|
|
[dev-dependencies.fail]
|
|
version = "0.4"
|
|
features = ["failpoints"]
|
|
|
|
[profile.release]
|
|
opt-level = 3
|
|
debug = false
|
|
debug-assertions = false
|
|
|
|
[profile.test]
|
|
debug-assertions = true
|
|
overflow-checks = true
|
|
|
|
[features]
|
|
default = ["mmap", "lz4-block-compression" ]
|
|
mmap = ["fs2", "tempfile", "memmap"]
|
|
brotli-compression = ["brotli"]
|
|
lz4-compression = ["lz4"]
|
|
lz4-block-compression = ["lz4_flex"]
|
|
snappy-compression = ["snap"]
|
|
failpoints = ["fail/failpoints"]
|
|
unstable = [] # useful for benches.
|
|
wasm-bindgen = ["uuid/wasm-bindgen"]
|
|
|
|
[workspace]
|
|
members = ["query-grammar", "bitpacker"]
|
|
|
|
[badges]
|
|
travis-ci = { repository = "tantivy-search/tantivy" }
|
|
|
|
# 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
|