32 lines
752 B
TOML
32 lines
752 B
TOML
[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"]
|