-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
117 lines (111 loc) · 2.83 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
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
[package]
name = "identity"
version = "0.1.0-alpha.8"
authors = ["Markus Wiegand <[email protected]>"]
edition = "2021"
rust-version = "1.70"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[features]
default = ["mimalloc"]
[dependencies]
mimalloc = { version = "0.1", optional = true, default-features = false }
tokio = { version = "1.32", features = [
"rt-multi-thread",
"fs",
"net",
"sync",
"signal",
"macros",
"parking_lot",
] }
futures = { version = "0.3", default-features = false, features = [
"async-await",
] }
hyper = { version = "0.14", features = ["http1", "http2", "server", "runtime"] }
hyper-rustls = { git = "https://github.com/morphy2k/hyper-rustls.git", rev = "e20c280", features = [
"server",
"http1",
"http2",
"tls12",
], default-features = false }
rustls = { version = "0.21", default-features = false }
tower = { version = "0.4", features = [
"util",
"timeout",
"load-shed",
"limit",
] }
tower-http = { version = "0.4", features = [
"add-extension",
"trace",
"sensitive-headers",
"cors",
] }
axum = { version = "0.6", default-features = false, features = [
"json",
"matched-path",
"original-uri",
"query",
"tokio",
"tower-log",
"headers",
] }
reqwest = { version = "0.11", features = [
"json",
"trust-dns",
"rustls-tls",
], default-features = false }
http = "0.2"
headers = "0.3"
url = { version = "2", features = ["serde"] }
serde = { version = "1", features = ["derive"] }
serde_json = "1"
chrono = { version = "0.4", features = ["serde"] }
mongodb = { version = "2.7", default-features = false, features = [
"tokio-runtime",
"bson-chrono-0_4",
"bson-uuid-1",
"tracing-unstable",
] }
envy = "0.4"
dotenv = "0.15"
tracing = "0.1"
tracing-futures = { version = "0.2", features = ["futures-03"] }
tracing-subscriber = { version = "0.3", features = [
"std",
"fmt",
"tracing-log",
"smallvec",
"parking_lot",
"env-filter",
"ansi",
"json",
], default-features = false }
thiserror = "1"
uuid = { version = "1", features = ["serde", "v4", "fast-rng"] }
regex = "1"
# Crypto
password-hash = "0.5"
argon2 = { version = "0.5", features = ["std", "zeroize"] }
rand_core = { version = "0.6", features = ["std"] }
rand = { version = "0.8", features = ["std"] }
sha-1 = "0.10"
base64ct = { version = "1", features = ["std"] }
base16ct = { version = "0.2", features = ["std"] }
aes-gcm-siv = { version = "0.11", features = [
"aes",
"std",
# "arrayvec",
], default-features = false }
zeroize = { version = "1.6", features = ["std"] }
pki-rs = { git = "https://github.com/morphy2k/pki-rs", tag = "v0.1.0-alpha.2", features = [
"ed25519",
"fingerprint",
], default-features = false }
jsonwebtoken = { version = "9.1", default-features = false }
rustls-pemfile = "1"
[profile.release]
lto = true
opt-level = 3
debug = false
strip = "debuginfo"