-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
108 lines (103 loc) · 2.93 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
[workspace]
members = ["crates/*"]
default-members = ["crates/*"]
resolver = "2"
[workspace.package]
version = "0.2.0"
license = "MPL-2.0"
edition = "2021"
homepage = "https://github.com/prose-im/prose-pod-api"
repository = "https://github.com/prose-im/prose-pod-api.git"
[workspace.dependencies]
anyhow = { version = "1", features = ["backtrace"] }
async-std = { version = "1", features = ["attributes", "tokio1"] }
async-stream = "0.3"
async-trait = "0.1"
base64 = "0.22"
chrono = "0.4"
cucumber = "0.21"
# See <https://github.com/johnstonskj/rust-email_address/issues/29>.
email_address = { git = "https://github.com/johnstonskj/rust-email_address.git", rev = "b4296cd4ff621b27da55bb5182558e0ce691c611" }
figment = { version = "0.10", features = ["env", "toml"] }
form_urlencoded = "1"
futures = "0.3"
futures-util = { version = "0.3" }
hickory-proto = { version = "0.24", default-features = false, features = [
"tokio-runtime",
"serde-config",
] }
hickory-resolver = { version = "0.24", default-features = false, features = [
"tokio-runtime",
] }
hmac = "0.12"
http-auth-basic = "0.3"
insta = "1"
iso8601-duration = { version = "0.2", features = ["serde"] }
iso8601-timestamp = "0.2"
jid = { git = "https://gitlab.com/nesium/xmpp-rs", branch = "main", default-features = false }
jwt = "0.16"
lazy_static = "1"
lettre = { version = "0.11", features = [
"smtp-transport",
"rustls-tls",
"hostname",
"builder",
], default-features = false }
linked-hash-map = "0.5"
migration = { path = "crates/migration" }
minidom = { git = "https://gitlab.com/nesium/xmpp-rs", branch = "main" }
parking_lot = "0.12"
prose-xmpp = { git = "https://github.com/prose-im/prose-core-client.git", tag = "0.1.92" }
prosody-config = { path = "crates/prosody-config" }
rand = "0.8"
regex = "1"
reqwest = { version = "0.12", features = [
"blocking",
"rustls-tls",
"json",
"trust-dns",
], default-features = false }
rocket = { version = "0.5", features = ["json"] }
sea-orm = { version = "1.0.1", features = [
"runtime-tokio-rustls",
"sqlx-sqlite",
#"macros",
] }
sea-orm-migration = { version = "1.0.1", features = [
"runtime-tokio-rustls",
"sqlx-sqlite",
] }
sea-orm-rocket = "0.5"
secrecy = { version = "0.8", features = ["serde"] }
serde = { version = "1", features = ["derive"] }
serde_json = "1"
serde_with = "3"
service = { path = "crates/service" }
sha2 = "0.10"
strum = { version = "0.26", features = ["derive"] }
tempfile = "3"
thiserror = "1"
# https://github.com/time-rs/time/issues/681
time = "=0.3.36"
tokio = "1"
tracing = { version = "0.1" }
tracing-subscriber = "0.3"
url_serde = "0.2"
urlencoding = "2"
uuid = "1"
xmpp-parsers = { git = "https://gitlab.com/nesium/xmpp-rs", branch = "main" }
[profile.dev]
opt-level = 0
debug = true
debug-assertions = true
strip = "debuginfo"
[profile.staging]
inherits = "dev"
opt-level = 1
lto = "thin"
[profile.release]
opt-level = "s"
lto = true
debug = false
debug-assertions = false
panic = "abort"