summaryrefslogtreecommitdiff
path: root/Cargo.toml
blob: 246e51ce6584585773772f8eeae72575440d1365 (plain)
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
[package]
name = "minor-skulk"
version = "0.1.0"
edition = "2021"
license = "GPL-3.0-only"

[dependencies]
anyhow = "1.0"
base64 = "0.13"
dotenv = "0.15"
either = "1.7"
futures = "0.3.21"
hawk = "4.0.0"
hex = "0.4"
hkdf = "0.12.3"
hmac = "0.12.1"
humantime-serde = "1.1.1"
lazy_static = "1.4"
password-hash = "0.4"
rand = "0.8.5"
rocket = { version = "0.5.0-rc.2", features = [ "json" ] }
scrypt = { version = "0.10", features = [ "simple" ] }
serde = { version = "1.0", features = [ "derive" ] }
serde_json = "1.0"
sha2 = "0.10.2"
sqlx = { version = "0.6.0", features = [ "runtime-tokio-native-tls", "postgres", "time", "json", "offline" ] }
subtle = "2.4.1"
time = { version = "0.3.11", features = [ "serde" ] }
url = "2.2.2"
validator = { version = "0.15", features = [ "derive" ] }

[dependencies.lettre]
version = "0.10"
default-features = false
features = [ "smtp-transport", "hostname", "builder", "tokio1-native-tls", "serde" ]

# default client (isahc) uses libnghttp2-sys which stopped building in nix
[dependencies.web-push]
version = "0.9.2"
default-features = false
features = ["hyper-client"]

[dev-dependencies]
hex-literal = "0.3.4"

[profile.dev.package.scrypt]
# avoid tests taking a huge amount of time due to unoptimized scrypt
opt-level = 2