-
Notifications
You must be signed in to change notification settings - Fork 54
Expand file tree
/
Copy pathCargo.toml
More file actions
56 lines (49 loc) · 1.95 KB
/
Cargo.toml
File metadata and controls
56 lines (49 loc) · 1.95 KB
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
# 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.88.0"
[dependencies]
redis = { version = "0.31.0", default-features = false, features = ["tokio-comp", "aio", "cluster", "cluster-async", "keep-alive", "tls-rustls", "tokio-rustls-comp", "tls-rustls-webpki-roots", "tls-rustls-insecure"] }
serde = { version = "1.0.219", features = ["derive"] }
serde_json = "1.0.142"
thiserror = "2.0.12"
warp = { version = "0.3.7", features = ["tls"] }
tokio = { version = "1.47.1", features = ["macros", "rt-multi-thread", "signal"] }
futures = "0.3.31"
log = "0.4.27"
sqlx = { version = "0.8.6", features = ["runtime-tokio-rustls", "any", "mysql", "sqlite", "postgres"] }
dotenvy = "0.15.7"
dashmap = "6.1.0"
once_cell = "1.21.3"
miette = { version = "7.6.0", features = ["fancy"] }
smallvec = { version = "1.15.1", features = ["serde"] }
reqwest = { version = "0.12.22", default-features = false, features = ["rustls-tls", "rustls-tls-native-roots", "json"] }
warp-real-ip = "0.2.0"
parse-display = "0.10.0"
rand = { version = "0.8.5", features = ["small_rng"] }
ahash = "0.8.12"
flexi_logger = { version = "0.29.8", features = ["colors"] }
tokio-stream = { version = "0.1.17", features = ["net"] }
nextcloud-config-parser = "0.15.1"
url = "2.5.4"
clap = { version = "4.5.43", features = ["derive"] }
sd-notify = { version = "0.4.5", optional = true }
[dev-dependencies]
mini-redis = "0.4.1"
tokio-tungstenite = "0.26.2"
http-auth-basic = "0.3.5"
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"]