forked from nextcloud/notify_push
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
53 lines (46 loc) · 1.46 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
[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 <[email protected]>"]
edition = "2018"
[dependencies]
redis = { version = "0.21", features = ["tokio-comp", "aio", "cluster"] }
serde = { version = "1", features = ["derive"] }
serde_json = "1"
thiserror = "1"
warp = "0.3"
tokio = { version = "1", features = ["macros", "rt-multi-thread", "signal"] }
futures = "0.3"
log = "0.4"
sqlx = { version = "0.5", features = ["runtime-tokio-rustls", "any", "macros", "mysql", "sqlite", "postgres"] }
dotenv = "0.15"
dashmap = "4"
once_cell = "1"
color-eyre = "0.5"
smallvec = "1"
reqwest = { version = "0.11", default-features = false, features = ["rustls-tls", "json"] }
warp-real-ip = "0.2"
parse-display = "0.5"
percent-encoding = "2"
rand = "0.8"
ahash = "0.7"
flexi_logger = { version = "0.18", features = ["colors"] }
tokio-stream = { version = "0.1", features = ["net"] }
structopt = "0.3"
derivative = "2"
nextcloud-config-parser = { version = "0.4", features = ["db-sqlx", "redis-connect"] }
[dev-dependencies]
mini-redis = "0.4"
tokio-tungstenite = "0.15"
http-auth-basic = "0.2"
test_client = { path = "test_client" }
[build-dependencies]
nextcloud_appinfo = "0.6"
[profile.dev.package.backtrace]
opt-level = 3
[profile.release]
lto = true
[features]
default = ["span-colors"]
span-colors = ["nextcloud-config-parser/span-colors"]
[workspace]