-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
61 lines (57 loc) · 1.75 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
59
60
61
[workspace]
members = ["app_schedule", "app_telegram_bot", "app_vk_bot"]
resolver = "1"
[workspace.package]
version = "3.1.2"
rust-version = "1.76.0"
[workspace.dependencies]
# common crates
common_actix = { path = "crates/common_actix" }
common_database = { path = "crates/common_database" }
common_di = { path = "crates/common_di" }
common_errors = { path = "crates/common_errors" }
common_in_memory_cache = { path = "crates/common_in_memory_cache" }
common_persistent_cache = { path = "crates/common_persistent_cache" }
common_restix = { path = "crates/common_restix" }
common_rust = { path = "crates/common_rust" }
# domain crates
domain_bot = { path = "crates/domain_bot" }
domain_mobile = { path = "crates/domain_mobile" }
domain_schedule = { path = "crates/domain_schedule" }
domain_schedule_cooldown = { path = "crates/domain_schedule_cooldown" }
domain_schedule_models = { path = "crates/domain_schedule_models" }
domain_schedule_shift = { path = "crates/domain_schedule_shift" }
domain_telegram_bot = { path = "crates/domain_telegram_bot" }
domain_vk_bot = { path = "crates/domain_vk_bot" }
# feature crates
feature_schedule = { path = "crates/feature_schedule" }
feature_telegram_bot = { path = "crates/feature_telegram_bot" }
feature_vk_bot = { path = "crates/feature_vk_bot" }
# super libraries
restix = { path = "libs/restix" }
# main external dependencies
actix-web = "4.0"
anyhow = "1.0"
chrono = "0.4"
deadpool-postgres = "0.10"
env_logger = "0.10"
log = "0.4"
lru = "0.10"
num-traits = "0.2.15"
once_cell = "1.17"
proc-macro-error = "1.0"
proc-macro2 = "1.0"
quote = "1.0"
rand = "0.8"
regex = "1.7"
reqwest = "0.11"
serde = "1.0"
serde_json = "1.0"
syn = "1.0"
tokio = "1.26"
tokio-postgres = "0.7"
tokio-test = "0.4"
toml = "0.7"
[profile.release]
opt-level = 3
lto = true