-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathCargo.toml
More file actions
69 lines (54 loc) · 1.37 KB
/
Cargo.toml
File metadata and controls
69 lines (54 loc) · 1.37 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
57
58
59
60
61
62
63
64
65
66
67
68
69
[package]
name = "bombie_bot"
version = "0.1.0"
edition = "2021"
[dependencies]
# Сериализация/десериализация
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
# Асинхронность и работа с futures
tokio = { version = "1.32", features = ["full"] }
futures = "0.3"
async-trait = "0.1"
# Логирование
log = "0.4"
env_logger = "0.10"
# Обработка ошибок
anyhow = "1.0"
thiserror = "1.0"
# Работа с окружением
dotenv = "0.15"
# Системные библиотеки
glob = "0.3"
# Трейсинг
tracing = "0.1.40"
tracing-futures = "0.2.5"
# Python интеграция
pyo3 = { version = "0.19", features = ["auto-initialize", "abi3-py39"] }
once_cell = "1.8"
# Специфичная unix конфигурация
[target.'cfg(unix)'.dependencies]
nix = { version = "0.27", features = ["signal"] }
# Специфичная win конфигурация
[target.'cfg(windows)'.dependencies]
windows-sys = { version = "0.48", features = [
"Win32_Foundation",
"Win32_System_Threading"
]}
ctrlc = "3.4"
[build-dependencies]
pyo3-build-config = "0.19"
which = "4.4"
[profile.dev]
debug = true
opt-level = 0
[profile.release]
opt-level = 3
lto = true
codegen-units = 1
panic = "abort"
strip = true
debug = false
debug-assertions = false
[profile.release.package."*"]
opt-level = 3