53 lines
1.8 KiB
TOML
53 lines
1.8 KiB
TOML
[package]
|
|
name = "rustphone"
|
|
version = "0.1.0"
|
|
edition = "2021"
|
|
|
|
[dependencies]
|
|
cfg-if = "1.0.0"
|
|
critical-section = "1.2.0"
|
|
embassy-embedded-hal = "0.2.0"
|
|
embassy-executor = { version = "0.6.3", features = ["task-arena-size-20480"] }
|
|
embassy-net = { version = "0.4.0", features = [ "tcp", "udp", "dhcpv4", "medium-ethernet"] }
|
|
embassy-sync = "0.6.1"
|
|
embassy-time = { version = "0.3.2", features = ["generic-queue-8"] }
|
|
embedded-graphics = "0.8.1"
|
|
embedded-hal = "1.0.0"
|
|
embedded-hal-02 = { version = "0.2.7", package = "embedded-hal", features = ["unproven"] }
|
|
embedded-io = "0.6.1"
|
|
embedded-io-async = "0.6.1"
|
|
embedded-layout = "0.4.1"
|
|
embedded-text = "0.7.2"
|
|
#embedded-tls = { version = "0.17.0", default-features = false }
|
|
epd-waveshare = { path = "../../epd-waveshare", optional = true }
|
|
esp-alloc = "0.5.0"
|
|
esp-backtrace = { version = "0.14.2", features = ["esp32", "exception-handler", "panic-handler", "println"] }
|
|
esp-hal = { version = "0.22.0", features = ["esp32"] }
|
|
esp-hal-embassy = { version = "0.5.0", features = ["esp32"] }
|
|
esp-println = { version = "0.12.0", features = ["esp32", "log"] }
|
|
esp-wifi = { version = "0.11.0", default-features = false, features = ["esp32", "utils", "wifi", "esp-alloc", "log"] }
|
|
log = "0.4.21"
|
|
#oled_async = { path = "../../oled_async", features = ["spi"] }
|
|
nb = "1.1.0"
|
|
#panic-halt = "0.2.0"
|
|
rand_core = "0.6.4"
|
|
#sh1106 = { version = "0.5.0", optional = true }
|
|
sh1106 = { git = "https://github.com/techmccat/sh1106", branch = "hal-1", optional = true }
|
|
static_cell = { version = "2.1.0", features = ["nightly"] }
|
|
|
|
[features]
|
|
default = ["display_sh1106"]
|
|
|
|
display_epd = ["dep:epd-waveshare"]
|
|
display_sh1106 = ["dep:sh1106"]
|
|
|
|
[profile.release]
|
|
codegen-units = 1
|
|
debug = 2
|
|
debug-assertions = false
|
|
incremental = false
|
|
opt-level = 's'
|
|
lto = 'fat'
|
|
overflow-checks = false
|
|
#panic = "abort"
|
|
strip = true
|