-
-
Notifications
You must be signed in to change notification settings - Fork 9
/
Cargo.toml
68 lines (51 loc) · 2.12 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
[workspace]
members = [
"fpush",
"fpush-ratelimit",
"fpush-apns",
"fpush-fcm",
"fpush-traits",
"fpush-tokenblocker",
"fpush-demopush",
]
resolver = "2"
[patch.crates-io]
jid = { git = "https://gitlab.com/xmpp-rs/xmpp-rs.git" }
minidom = { git = "https://gitlab.com/xmpp-rs/xmpp-rs.git" }
tokio-xmpp = { git = "https://gitlab.com/xmpp-rs/xmpp-rs.git" }
xmpp-parsers = { git = "https://gitlab.com/xmpp-rs/xmpp-rs.git" }
xmpp = { git = "https://gitlab.com/xmpp-rs/xmpp-rs.git" }
[workspace.dependencies]
log = { version = "^0.4" }
env_logger = { version = "^0.11" }
derive-getters = { version = "^0.5" }
serde_derive = { version = "^1.0" }
serde = { version = "^1.0", features = ["derive"] }
serde-humantime = { version = "^0.1" }
serde_json = { version = "1.0" }
tokio = { version = "^1.39" }
futures = { version = "^0.3" }
derive_more = { version = "^1.0", features = ["from", "display"] }
dashmap = { version = "^6.0" }
rand = { version = "^0.8", features = ["std_rng"] }
google-fcm1 = { version = "5.0.2" }
hyper-rustls = { version = "0.24", features = ["http2"] }
hyper = { version = "0.14", features = ["client", "http2"] }
a2 = { version = "0.10" }
async-trait = { version = "^0.1" }
xmpp = { git = "https://gitlab.com/xmpp-rs/xmpp-rs.git", default-features = false }
tokio-xmpp = { git = "https://gitlab.com/xmpp-rs/xmpp-rs.git", default-features = false }
xmpp-parsers = { git = "https://gitlab.com/xmpp-rs/xmpp-rs.git" }
fpush-ratelimit = { path = "./fpush-ratelimit" }
fpush-tokenblocker = { path = "./fpush-tokenblocker" }
fpush-traits = { path = "./fpush-traits" }
fpush-apns = { path = "./fpush-apns" }
fpush-fcm = { path = "./fpush-fcm" }
fpush-demopush = { path = "./fpush-demopush" }
fpush-push = { path = "./fpush-push" }
[workspace.features]
release_max_level_warn = ["log/release_max_level_warn"]
release_max_level_info = ["log/release_max_level_info"]
monal_prod = ["fpush-push/random_delay_before_push", "release_max_level_info", "fpush-push/enable_apns_support"]
monal_debug = ["fpush-push/random_delay_before_push", "fpush-push/enable_apns_support", "fpush-push/enable_fcm_support"]
default = ["monal_debug"]