-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
31 lines (28 loc) · 938 Bytes
/
Cargo.toml
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
[package]
name = "indexer"
version = "0.1.0"
edition = "2021"
[dependencies]
anyhow = "^1.0.93"
byte-unit = "5.1.6"
etag = { version = "4.0.0", features = ["std"] }
form_urlencoded = "^1.2.1"
http-body-util = "^0.1.2"
hyper = { version = "^1.5.0", features = ["http1", "server"] }
hyper-util = { version = "^0.1.10", features = ["tokio"] }
image = "^0.25.5"
markdown = "0.3.0"
rocket = { version = "0.6.0-dev", git = "https://github.com/rwf2/Rocket.git" }
serde = { version = "^1.0.215", features = ["derive"] }
tera = { version = "1.20.0", features = ["builtins"] }
tokio = { version = "1", features = ["full"] }
tokio-stream = { version = "^0.1.16", features = ["net"] }
urlencoding = "2.1.3"
walkdir = "2.5.0"
xattr = "1.3.1"
[target.'cfg(target_os = "linux")'.dependencies]
systemd = { version = "0.10.0" }
[profile.release]
opt-level = 'z' # Optimize for size
lto = true # Enable link-time optimization
codegen-units = 1