-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
37 lines (34 loc) · 905 Bytes
/
Copy pathCargo.toml
File metadata and controls
37 lines (34 loc) · 905 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
[package]
name = "hitokoto-rust"
version = "0.7.1"
edition = "2024"
[features]
default = ["mimalloc", "init"]
mimalloc = ["dep:mimalloc"]
init = ["dep:reqwest", "dep:serde_json"]
[dependencies]
actix-web = "4.10.2"
clap = { version = "4.5.32", features = ["derive", "env"] }
num_cpus = "1.16.0"
serde = { version = "1.0.219", features = ["derive"] }
mimalloc = { version = "0.1.44", optional = true }
rand = "0.9.0"
actix-governor = "0.8.0"
reqwest = { version = "0.12.15", default-features = false, features = [
"rustls-tls",
"json",
"gzip",
], optional = true }
serde_json = { version = "1.0.140", optional = true }
sqlx = { version = "0.6", features = ["runtime-tokio-rustls", "all-databases"] }
parking_lot = "0.12.3"
futures-util = "0.3.31"
actix-cors = "0.7.1"
arc-swap = "1.7.1"
[profile.release]
panic = "abort"
lto = true
strip = true
debug = false
codegen-units = 1
opt-level = 3