-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathCargo.toml
47 lines (44 loc) · 1.77 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
[package]
name = "raskol"
version = "0.10.1"
description = "Share 1 API key with N group members without revealing it."
authors = ["Siraaj Khandkar <[email protected]>"]
keywords = ["photo", "organizer", "exif"]
categories = ["command-line-utilities"]
license = "BSD-3-Clause"
readme = "README.md"
edition = "2021"
[dependencies]
anyhow = { version = "1.0.95", features = ["backtrace"] }
axum = "0.7.9"
axum-server = { version = "0.7.1", features = ["tls-rustls"] }
chrono = "0.4.39"
clap = { version = "4.5.23", features = ["derive"] }
cuid2 = "0.1.3"
human-panic = "2.0.2"
jsonwebtoken = "9.2.0"
rustls = "0.23.20"
reqwest = { version = "0.12.9", default-features = false, features = ["json", "rustls-tls"]}
serde = { version = "1.0.216", features = ["derive"] }
serde_json = "1.0.134"
sqlx = { version = "0.8.2", features = ["runtime-tokio", "sqlite"] }
tokio = { version = "1.42.0", features = ["full", "tracing"] }
toml = "0.8.19"
tracing = "0.1.41"
tracing-subscriber = { version = "0.3.19", features = ["env-filter"] }
[dev-dependencies]
assert_cmd = "2.0.16"
# XXX Using native-tls for tests client because rustls-tls doesn't work
# for self-signed certs (CaUsedAsEndEntity).
reqwest = { version = "0.12.9", default-features = false, features = ["json", "native-tls"]}
tempfile = "3.15.0"
###############################################################################
# binary size optimizations
# https://github.com/johnthagen/min-sized-rust
###############################################################################
[profile.release]
codegen-units = 1 # Disable parallelization, allowing maximum size reduction.
lto = true # Enable Link Time Optimizations.
# panic = "abort" # Disable stack unwind.
# strip = true # Strip symbols.
# opt-level = "z" # Optimize for size.