-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
68 lines (62 loc) · 2.66 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
62
63
64
65
66
67
68
[package]
name = "voyagesp"
version = "0.1.0"
authors = ["akosnad"]
edition = "2021"
[workspace]
members = [
"hass-types"
]
[dependencies]
esp-backtrace = { version = "0.14.0", features = [
"esp32",
"exception-handler",
"panic-handler",
"println",
"custom-halt",
] }
esp-hal = { version = "0.21.0", features = ["esp32"] }
esp-println = { version = "0.11.0", features = ["esp32", "log"] }
log = { version = "0.4.21" }
esp-alloc = { version = "0.5.0" }
embedded-io = "0.6.1"
esp-wifi = { version = "0.10.1", features = ["esp32", "embassy-net", "wifi", "tcp", "udp", "esp-alloc", "log", "ipv4", "icmp", "phy-enable-usb"] }
heapless = { version = "0.8.0", default-features = false }
smoltcp = { version = "0.11.0", default-features = false, features = ["dns-max-server-count-2", "medium-ethernet", "proto-dhcpv4", "proto-dns", "proto-igmp", "proto-ipv4", "socket-dhcpv4", "socket-icmp", "socket-raw", "socket-tcp", "socket-udp"] }
axp192 = "0.2.0"
ublox = { version = "0.4.5", default-features = false, features = ["alloc", "serde"] }
serde = { version = "1.0.210", default-features = false, features = ["derive"] }
serde_json = { version = "1.0.128", default-features = false, features = ["alloc"] }
anyhow = { version = "1.0.89", default-features = false }
embassy-executor = { version = "0.6.0", features = ["executor-thread", "integrated-timers", "task-arena-size-20480"] }
embassy-time = { version = "0.3.2" }
esp-hal-embassy = { version = "0.4.0", features = ["esp32", "log"] }
embassy-net = { version = "0.4.0", features = ["dhcpv4", "dhcpv4-hostname", "dns", "log", "medium-ip", "proto-ipv4", "tcp", "udp"] }
static_cell = { version = "2.1.0", features = ["nightly"] }
embedded-io-async = { version = "0.6.1", features = ["alloc"] }
embassy-sync = "0.6.0"
embassy-futures = "0.1.1"
atat = { version = "0.23.0", default-features = false, features = ["atat_derive", "derive", "log", "serde_at"] }
serde_at = { version = "0.23.0", features = ["alloc"] }
embassy-net-ppp = { version = "0.1.0", features = ["log"] }
rust-mqtt = { git = "https://github.com/akosnad/rust-mqtt.git", default-features = false, features = ["no_std"] }
hass-types = { path = "hass-types" }
[profile.dev]
# Rust debug is too slow.
# For debug builds always builds with some optimization
opt-level = "s"
[profile.release]
codegen-units = 1 # LLVM can perform better optimizations using a single thread
debug = 2
debug-assertions = false
incremental = false
lto = 'fat'
opt-level = 's'
overflow-checks = false
[build-dependencies]
serde = { version = "1.0.210", features = ["derive"] }
serde_yaml = "0.9.34"
hass-types = { path = "hass-types" }
uneval = "0.2.4"
[package.metadata.espflash]
partition_table = "partitions.csv"