You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
55 lines
1.4 KiB
55 lines
1.4 KiB
[package]
|
|
name = "esp-spot"
|
|
version = "0.1.0"
|
|
authors = ["Miroito <alban.vachette@gmail.com>"]
|
|
edition = "2021"
|
|
license = "MIT OR Apache-2.0"
|
|
|
|
[dependencies]
|
|
esp-backtrace = { version = "0.11.0", features = [
|
|
"esp32c3",
|
|
"exception-handler",
|
|
"panic-handler",
|
|
"println",
|
|
] }
|
|
esp-hal = { version = "0.16.0", features = [ "esp32c3" ] }
|
|
esp-println = { version = "0.9.0", features = ["esp32c3", "log"] }
|
|
log = { version = "0.4.20" }
|
|
embedded-svc = { version = "0.26.1", default-features = false, features = [] }
|
|
embedded-io = "0.6.1"
|
|
esp-wifi = { version = "0.4.0", features = [
|
|
"esp32c3",
|
|
"phy-enable-usb",
|
|
"utils",
|
|
"wifi-default",
|
|
"ble",
|
|
"coex",
|
|
] }
|
|
heapless = { version = "0.8.0", default-features = false }
|
|
smoltcp = { version = "0.10.0", default-features = false, features = [
|
|
"medium-ethernet",
|
|
"proto-dhcpv4",
|
|
"proto-igmp",
|
|
"proto-ipv4",
|
|
"socket-dhcpv4",
|
|
"socket-icmp",
|
|
"socket-raw",
|
|
"socket-tcp",
|
|
"socket-udp",
|
|
] }
|
|
esp-hal-smartled = { version = "0.9.0", features = ["esp32c3"] }
|
|
smart-leds = "0.4.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
|