-
Notifications
You must be signed in to change notification settings - Fork 42
/
Cargo.toml
58 lines (51 loc) · 1.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
# SPDX-FileCopyrightText: 2020 Nextcloud GmbH and Nextcloud contributors
# SPDX-License-Identifier: AGPL-3.0-or-later
[package]
name = "notify_push"
version = "0.1.0" # this version number is unused, the version number for the binary will be extracted from the appinfo/info.xml during build
authors = ["Robin Appelman <robin@icewind.nl>"]
edition = "2021"
rust-version = "1.74.1"
[dependencies]
redis = { version = "0.26.0", default-features = false, features = ["tokio-comp", "aio", "cluster", "cluster-async", "keep-alive"] }
serde = { version = "1.0.204", features = ["derive"] }
serde_json = "1.0.120"
thiserror = "1.0.63"
warp = { version = "0.3.7", features = ["tls"] }
tokio = { version = "1.39.1", features = ["macros", "rt-multi-thread", "signal"] }
futures = "0.3.30"
log = "0.4.22"
sqlx = { version = "0.8.0", features = ["runtime-tokio-rustls", "any", "mysql", "sqlite", "postgres"] }
dotenvy = "0.15.7"
dashmap = "6.0.1"
once_cell = "1.19.0"
miette = { version = "7.2.0", features = ["fancy"] }
smallvec = { version = "1.13.2", features = ["serde"] }
reqwest = { version = "0.12.5", default-features = false, features = ["rustls-tls", "json"] }
warp-real-ip = "0.2.0"
parse-display = "0.9.1"
percent-encoding = "2.3.1"
rand = { version = "0.8.5", features = ["small_rng"] }
ahash = "0.8.11"
flexi_logger = { version = "0.28.5", features = ["colors"] }
tokio-stream = { version = "0.1.15", features = ["net"] }
derivative = "2.2.0"
nextcloud-config-parser = { version = "0.11.0", features = ["redis-connect"] }
url = "2.5.2"
clap = { version = "4.5.11", features = ["derive"] }
sd-notify = { version = "0.4.2", optional = true }
[dev-dependencies]
mini-redis = "0.4.1"
tokio-tungstenite = "0.23.1"
http-auth-basic = "0.3.3"
test_client = { path = "test_client" }
[build-dependencies]
nextcloud_appinfo = "0.6.0"
[profile.dev.package.backtrace]
opt-level = 3
[profile.release]
lto = true
[workspace]
[features]
default = ["systemd"]
systemd = ["dep:sd-notify"]