Initial commit
This commit is contained in:
44
Cargo.toml
Normal file
44
Cargo.toml
Normal file
@@ -0,0 +1,44 @@
|
||||
[package]
|
||||
edition = "2024"
|
||||
name = "mtgcount-rs-2"
|
||||
rust-version = "1.88"
|
||||
version = "0.1.0"
|
||||
|
||||
[[bin]]
|
||||
name = "mtgcount-rs-2"
|
||||
path = "./src/bin/main.rs"
|
||||
|
||||
[dependencies]
|
||||
esp-hal = { version = "1.0.0", features = ["esp32", "unstable"] }
|
||||
|
||||
|
||||
esp-bootloader-esp-idf = { version = "0.4.0", features = ["esp32"] }
|
||||
|
||||
critical-section = "1.2.0"
|
||||
esp-alloc = "0.9.0"
|
||||
esp-backtrace = { version = "0.18.1", features = [
|
||||
"esp32",
|
||||
"panic-handler",
|
||||
"println",
|
||||
] }
|
||||
esp-println = { version = "0.16.1", features = ["esp32"] }
|
||||
embedded-hal-bus = "0.3.0"
|
||||
mipidsi = "0.9.0"
|
||||
embedded-graphics = "0.8.1"
|
||||
u8g2-fonts = "0.7.2"
|
||||
micromath = "2.1.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
|
||||
Reference in New Issue
Block a user