forked from esp32-open-mac/foa-example-project
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
54 lines (45 loc) · 1.47 KB
/
Copy pathCargo.toml
File metadata and controls
54 lines (45 loc) · 1.47 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
[package]
edition = "2024"
name = "foa-example-project"
rust-version = "1.88"
version = "0.1.0"
[[bin]]
name = "foa-example-project"
path = "./src/bin/main.rs"
[dependencies]
esp-hal = { version = "1.0.0", features = ["esp32", "log-04", "unstable"] }
esp-rtos = { version = "0.2.0", features = [
"embassy",
"esp32",
"log-04",
] }
esp-bootloader-esp-idf = { version = "0.4.0", features = ["esp32", "log-04"] }
log = "0.4.27"
embassy-executor = { version = "0.9.1", features = ["log"] }
embassy-time = { version = "0.5.0", features = ["log"] }
esp-alloc = "0.9.0"
esp-backtrace = { version = "0.18.1", features = [
"esp32",
"panic-handler",
"println",
] }
esp-println = { version = "0.16.1", features = ["esp32", "log-04"] }
critical-section = "1.2.0"
static_cell = "2.1.1"
foa = { version = "0.1.1", features = ["esp32", "log"] }
foa_sta = { version = "0.1.1", features = ["esp32", "log"] }
embassy-net = { version = "0.7.1", features = ["proto-ipv6", "tcp", "dns", "medium-ethernet", "proto-ipv4", "udp", "icmp", "log", "dhcpv4"] }
embedded-io-async = "0.6.1"
reqwless = "0.13.0"
[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