-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathCargo.toml
49 lines (42 loc) · 1.04 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 = "gateway"
version = "0.1.0"
edition = "2021"
[[ bin ]]
name = "gateway"
path = "src/main.rs"
[lib]
name = "gateway"
path = "src/lib.rs"
[dependencies]
rust_gpiozero = "0.2.1"
lapin = "2.3.1"
diesel = { version = "2.0.4", features = ["sqlite"] }
dotenv = "0.15.0"
clap = { version = "3.2", features = ["derive"] }
tokio-cron-scheduler = "*"
tokio = { version = "1", features = ["full"] }
serde = "1.0"
serde_json = "1.0"
chrono = "0.4.29"
lazy_static = "1.4.0"
diesel_migrations = { version = "2.0.0", features = ["sqlite"] }
log = "0.4"
cron = "0.12.0"
[dependencies.uuid]
version = "1.3.0"
features = [
"v4", # Lets you generate random UUIDs
"fast-rng", # Use a faster (but still sufficiently random) RNG
"macro-diagnostics", # Enable better diagnostics for compile-time UUIDs
]
[dev-dependencies]
test-case = "3.1.0"
diesel_cli = { version = "2.0.1", features = ["sqlite"], default-features = false }
mockall = "0.11.3"
[profile.dev]
opt-level = 0
debug = true
[profile.release]
opt-level = 3
debug = false