-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathCargo.toml
More file actions
executable file
·89 lines (83 loc) · 2.19 KB
/
Copy pathCargo.toml
File metadata and controls
executable file
·89 lines (83 loc) · 2.19 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
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
[package]
edition = "2021"
name = "spider_robot"
version = "0.1.0"
[[bin]]
name = "spider_robot"
path = "./src/main.rs"
test = false
bench = false
[dependencies]
esp-bootloader-esp-idf = "0.1.0"
esp-hal = { version = "=1.0.0-beta.1", features = [
"esp32",
"log-04",
"unstable",
] }
log = "0.4.27"
embassy-net = { version = "0.7.0", features = [
"dhcpv4",
"log",
"medium-ethernet",
"tcp",
"udp",
] }
embedded-io = "0.6.1"
embedded-io-async = "0.6.1"
esp-alloc = "0.8.0"
esp-println = { version = "0.14.0", features = ["esp32", "log-04"] }
# for more networking protocol support see https://crates.io/crates/edge-net
bt-hci = { version = "0.2.1", features = [] }
critical-section = "1.2.0"
embassy-executor = { version = "0.7.0", features = [
"log",
"task-arena-size-20480",
] }
embassy-time = { version = "0.5.0", features = ["log"] }
esp-hal-embassy = { version = "0.8.1", features = ["esp32", "log-04"] }
esp-wifi = { version = "0.14.1", features = [
"ble",
"builtin-scheduler",
"coex",
"esp-alloc",
"esp32",
"log-04",
"smoltcp",
"wifi",
] }
smoltcp = { version = "0.12.0", default-features = false, features = [
"log",
"medium-ethernet",
"multicast",
"proto-dhcpv4",
"proto-dns",
"proto-ipv4",
"socket-dns",
"socket-icmp",
"socket-raw",
"socket-tcp",
"socket-udp",
] }
static_cell = { version = "2.1.0", features = ["nightly"] }
trouble-host = { version = "0.1.0", features = ["gatt"] }
esp-backtrace = { version = "0.16.0", features = ["println", "esp32", "panic-handler", "exception-handler"]}
embedded-hal = "1.0.0"
fugit = "0.3.7"
heapless = "0.8.0"
anyhow = { version = "1.0.98", default-features = false}
micromath = "2.1.0" # sqrt and power calculation
embassy-sync = "0.7.0"
pwm-pca9685 = { version = "1.0.0", features = ["async"] }
# embassy-sync = { version = "0.7.0", features = [ "turbowakers", "log"] }
[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