-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
49 lines (42 loc) · 1.44 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
[package]
name = "ks89-online-alarm"
version = "1.0.0"
edition = "2024"
resolver = "3"
[[bin]]
name = "online"
path = "src/main.rs"
[lib]
name = "online"
path = "src/lib.rs"
[profile.release]
codegen-units = 1
lto = "fat"
opt-level = 3
panic = "abort"
[dependencies]
thiserror = "2.0.11"
anyhow = "1.0.96"
rocket = { version = "0.5.1", features = ["uuid", "secrets", "json"] }
tokio = { version = "^1.43.0", features = ["full"] }
redis = { version = "^0.29.0", features = ["tokio-comp", "connection-manager", "aio", "ahash", "r2d2"] }
log = "^0.4.26"
log4rs = { version = "^1.3.0", features = ["console_appender", "rolling_file_appender"] }
dotenvy = "^0.15.7"
envy = "^0.4.2"
futures = "^0.3.31"
retainer = "^0.3"
# Firebase library with the new http v1 api - still under development
fcm = { git = "https://github.com/rj76/fcm-rust.git" }
# To use Serialize and Deserialize traits, you must include Serde.
# The "derive" feature is only required when
# using #[derive(Serialize, Deserialize)] to make Serde work with structs
# and enums defined in your crate.
serde = { version = "^1.0.218", features = ["derive"] }
serde_json = "^1.0.139"
[dev-dependencies]
# better looking rust assertions
pretty_assertions = "^1.4.1"
# include also serde_json with the feature 'preserve_order' to don't change the order of keys
# 'preserve_order' is required to compare results in a predictible way in testing
serde_json = { version = "^1.0.139", features = ["preserve_order"] }