[package] name = "tantivy" version = "0.14.0-dev" authors = ["Paul Masurel "] 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 = {version="1", optional=true} brotli = {version="3.3.0", optional=true} snap = "1" 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-dev", path="./query-grammar" } 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" env_logger = "0.8" lru = "0.6" [target.'cfg(windows)'.dependencies] winapi = "0.3" [dev-dependencies] rand = "0.8" maplit = "1" matches = "0.1.8" proptest = "0.10" 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"] mmap = ["fs2", "tempfile", "memmap"] brotli-compression = ["brotli"] lz4-compression = ["lz4"] failpoints = ["fail/failpoints"] unstable = [] # useful for benches. wasm-bindgen = ["uuid/wasm-bindgen"] [workspace] members = ["query-grammar"] [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