summaryrefslogtreecommitdiff
path: root/Cargo.toml
blob: 9a67b1679e3e4b6cc6c372742b0b86ed7f394e2c (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
[package]
name = "minor-skulk"
version = "0.1.0"
edition = "2021"

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[dependencies]
anyhow = "1.0"
base64 = "0.13"
chrono = "0.4.19"
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", "chrono", "json", "offline" ] }
subtle = "2.4.1"
url = "2.2.2"
validator = { version = "0.15", features = [ "derive" ] }
web-push = "0.9.2"

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

[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