-
Notifications
You must be signed in to change notification settings - Fork 9
Expand file tree
/
Copy pathCargo.toml
More file actions
44 lines (39 loc) · 1.07 KB
/
Cargo.toml
File metadata and controls
44 lines (39 loc) · 1.07 KB
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
43
44
[package]
name = "Prismguand-Rust"
version = "0.1.0"
edition = "2021"
[[bin]]
name = "Prismguand-Rust"
path = "src/main.rs"
test = false
bench = false
[features]
default = ["storage-debug"]
storage-debug = ["dep:rocksdb", "dep:rusqlite"]
[dependencies]
anyhow = "1.0"
axum = { version = "0.6.20", features = ["macros"] }
bytes = "1.10"
brotli = "3.5"
dotenvy = "0.15"
encoding_rs = "0.8"
flate2 = "1.0"
futures-util = "0.3"
hyper = "0.14"
indexmap = "=2.2.6"
jieba-rs = "=0.6.8"
libc = "0.2"
md5 = "0.7"
reqwest = { version = "0.11.27", default-features = false, features = ["json", "stream", "rustls-tls"] }
rocksdb = { version = "=0.24.0", default-features = false, features = ["snappy"], optional = true }
rusqlite = { version = "0.31", features = ["bundled"], optional = true }
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
tokio = { version = "1.37", features = ["macros", "rt-multi-thread", "signal", "net"] }
tracing = "0.1"
tracing-subscriber = { version = "0.3", features = ["env-filter", "fmt"] }
url = "=2.4.1"
[profile.dev]
debug = 0
[profile.test]
debug = 0