-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathCargo.toml
50 lines (42 loc) · 947 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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
[package]
name = "directory"
version = "0.14.0"
authors = ["El RIDO <[email protected]>"]
edition = "2021"
license = "AGPL-3.0"
rust-version = "1.78"
[dependencies]
diesel_migrations = "2.2.0"
futures = "0.3.31"
http-body-util = "0.1.2"
hyper-util = "0.1.10"
isocountry = "0.3.2"
maxminddb = "0.24.0"
rand = "0.8.5"
regex = "1.11.1"
tokio = "1.43.0"
url = "2.5.4"
[dependencies.diesel]
version = "2.2.6"
features = ["sqlite"]
[dependencies.hyper]
version = "1.5.2"
features = ["client"]
[dependencies.hyper-rustls]
version = "0.27.5"
default-features = false
features = ["http1", "http2", "tls12", "ring", "webpki-tokio"]
[dependencies.rocket]
version = "0.5.1"
features = ["json"]
[dependencies.rocket_dyn_templates]
version = "0.2.0"
features = ["tera"]
[dependencies.rocket_sync_db_pools]
version = "0.1.0"
features = ["diesel_sqlite_pool"]
[profile.release]
opt-level = 'z' # Optimize for size.
lto = true
codegen-units = 1
strip = true