-
Notifications
You must be signed in to change notification settings - Fork 8
/
Cargo.toml
61 lines (58 loc) · 1.78 KB
/
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
51
52
53
54
55
56
57
58
59
60
61
[package]
name = "librespeed-rs"
version = "1.3.6"
edition = "2021"
authors = ["Sudo Dios"]
description = "Rust backend for LibreSpeed"
[dependencies]
#async net
tokio = {version = "1.41.1", features = ["net","io-util","rt","macros","rt-multi-thread"]}
tokio-rustls = {version = "0.26.0", features = ["tls12","ring"], default-features = false}
webpki-roots = "0.26.7"
rustls-pemfile = "2.2.0"
socket2 = "0.5.8"
listenfd = "1.0.1"
#ip
maxminddb = "0.24.0"
#image processing
imageproc = "0.25.0"
ab_glyph = "0.2.28"
#serializer
serde_json = "1.0.133"
serde = { version = "1.0.215", features = ["derive"] }
#databases
uuid = { version = "1.11.0", features = ["v4"] }
chrono = "0.4.38"
mysql = { version = "25.0.1",default-features = false }
postgres = "0.19.9"
rusqlite = { version = "0.32.1",features = ["bundled"] }
#conf
clap = { version = "4.5.21",features = ["std","color","help","usage"],default-features = false }
toml = "0.8.19"
#web
sha2 = "0.10.8"
handlebars = "6.2.0"
#logging
env_logger = { version = "0.11.5",default-features = false,features = ["auto-color","humantime"] }
log = "0.4.22"
indicatif = "0.17.9"
#assets
include_dir = "0.7.4"
[package.metadata.deb]
maintainer-scripts = "setup/debian/scripts/"
systemd-units = { enable = false }
revision = ""
assets = [
["target/release/librespeed-rs","/usr/bin/librespeed-rs","755"],
["assets/*","/var/lib/librespeed-rs/assets","644"],
["configs.toml","/var/lib/librespeed-rs/configs.toml","644"],
["country_asn.mmdb","/var/lib/librespeed-rs/country_asn.mmdb","644"],
["setup/debian/speedtest_rs.service","/lib/systemd/system/speedtest_rs.service","644"],
["setup/debian/speedtest_rs.socket","/lib/systemd/system/speedtest_rs.socket","644"]
]
[profile.release]
codegen-units = 1
opt-level = "z"
panic = "abort"
lto = true
strip = true