millelibri/crates/zlib-searcher-core/Cargo.toml

32 lines
752 B
TOML
Raw Permalink Normal View History

2023-01-07 20:40:21 +00:00
[package]
name = "zlib-searcher-core"
version = "0.7.0"
edition.workspace = true
authors.workspace = true
description.workspace = true
homepage.workspace = true
repository.workspace = true
license.workspace = true
[dependencies]
anyhow = { workspace = true }
env_logger = { workspace = true }
log = { workspace = true }
serde = { workspace = true }
serde_with = { workspace = true }
tantivy = { version = "0.18", default-features = false, features = ["mmap"] }
cang-jie = "0.14"
jieba-rs = { version = "0.6", features = ["default-dict"] }
csv = "1.1"
indicatif = "0.17"
sysinfo = { version = "0.27", default-features = false }
[features]
default = ["best-size"]
best-size = ["tantivy/brotli-compression"]
best-speed = ["tantivy/lz4-compression"]