32 lines
814 B
TOML
32 lines
814 B
TOML
[package]
|
|
name = "helloworld"
|
|
version = "0.1.0"
|
|
authors = ["Iain (Bill) Wiseman <iwiseman@bibble.co.nz>"]
|
|
edition = "2021"
|
|
license = "MIT OR Apache-2.0"
|
|
|
|
[dependencies]
|
|
embedded-graphics = "0.8.1"
|
|
esp-backtrace = { version = "0.15.1", features = [
|
|
"esp32",
|
|
"exception-handler",
|
|
"panic-handler",
|
|
"println",
|
|
] }
|
|
esp-hal = { version = "0.23.1", features = [ "esp32" ] }
|
|
esp-println = { version = "0.13.1", features = ["esp32", "log"] }
|
|
log = { version = "0.4.22" }
|
|
ssd1306 = "0.10.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 |