[package] name = "m5stamp-c3-ws2812" version = "0.1.0" edition = "2024" [[bin]] name = "m5stamp_c3_ws2812" path = "./src/bin/main.rs" test = false doctest = false bench = false [lib] name = "m5stamp_c3_ws2812" path = "./src/lib.rs" test = false doctest = false bench = false [dependencies] embassy-net = { version = "0.6.0", features = [ "dhcpv4", "medium-ethernet", "tcp", "udp", ] } embedded-io = "0.6.1" embedded-io-async = "0.6.1" esp-alloc = "0.7.0" esp-hal = { version = "1.0.0-beta.0", features = ["esp32c3", "unstable"] } esp-println = { version = "0.13.0", features = ["esp32c3", "log"] } log = { version = "0.4.21" } smoltcp = { version = "0.12.0", default-features = false, features = [ "medium-ethernet", "multicast", "proto-dhcpv4", "proto-dns", "proto-ipv4", "socket-dns", "socket-icmp", "socket-raw", "socket-tcp", "socket-udp", ] } # for more networking protocol support see https://crates.io/crates/edge-net bleps = { git = "https://github.com/bjoernQ/bleps", package = "bleps", rev = "a5148d8ae679e021b78f53fd33afb8bb35d0b62e", features = [ "async", "macros", ] } critical-section = "1.2.0" embassy-executor = { version = "0.7.0", features = ["task-arena-size-20480"] } embassy-time = { version = "0.4.0", features = ["generic-queue-8"] } esp-hal-embassy = { version = "0.7.0", features = ["esp32c3"] } esp-wifi = { version = "0.13.0", features = [ "ble", "builtin-scheduler", "coex", "esp-alloc", "esp32c3", "log", "wifi", ] } heapless = { version = "0.8.0", default-features = false } static_cell = { version = "2.1.0", features = ["nightly"] } smart-leds = "0.4.0" ws2812-spi = "0.5.0" embassy-futures = "0.1.1" embassy-sync = "0.7.0" libm = "0.2.15" esp-storage = { version = "0.6.0", features = ["esp32c3"] } embedded-storage = "0.3.1" postcard = { version = "1.1.2", features = [] } serde = { version = "1.0.219", features = ["derive"], default-features = false } [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