forked from puzzithinker/zlib-searcher
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
42 lines (34 loc) · 904 Bytes
/
Copy pathCargo.toml
File metadata and controls
42 lines (34 loc) · 904 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
[package]
name = "zlib-searcher"
version = "0.5.1"
edition = "2021"
authors = ["zu1k <i@zu1k.com>"]
description = "search z-library index."
homepage = "https://github.com/zu1k/zlib-searcher"
repository = "https://github.com/zu1k/zlib-searcher"
license = "MIT"
exclude = [".github/", "index/"]
[profile.release]
strip = true
lto = true
opt-level = 3
codegen-units = 1
[dependencies]
serde = { version = "1.0", features = ["derive"] }
serde_with = "2.0"
tantivy = { version = "0.18", default-features = false, features = ["mmap"] }
cang-jie = "0.14"
jieba-rs = { version = "0.6", features = ["default-dict"] }
actix-web = "4"
anyhow = "1.0"
env_logger = "0.10"
log = "0.4"
actix-web-static-files = "4.0"
static-files = "0.2"
csv = "1.1"
[build-dependencies]
static-files = "0.2"
[features]
default = ["best-size"]
best-size = ["tantivy/brotli-compression"]
best-speed = ["tantivy/lz4-compression"]