[package]
edition = "2024"
rust-version = "1.89.0"
name = "firefly-hal"
version = "0.3.3"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Hardware Abstraction Layer for Firefly Zero device and emulators"
readme = "README.md"
license = "MIT"
[lib]
name = "firefly_hal"
path = "src/lib.rs"
[dependencies.firefly-types]
version = "0.8.1"
[dependencies.postcard]
version = "1.1.3"
[target.'cfg(not(any(target_os = "none", target_os = "android")))'.dependencies.battery]
version = "0.7.8"
[target.'cfg(not(any(target_os = "none", target_os = "android")))'.dependencies.gilrs]
version = "0.11.1"
[target.'cfg(not(any(target_os = "none", target_os = "android")))'.dependencies.rodio]
version = "0.21.1"
features = ["playback"]
[target.'cfg(not(target_os = "none"))'.dependencies.embedded-io]
version = "0.6.1"
features = ["std"]
[target.'cfg(not(target_os = "none"))'.dependencies.hound]
version = "3.5.1"
[target.'cfg(not(target_os = "none"))'.dependencies.rand]
version = "0.9.2"
[target.'cfg(target_family = "wasm")'.dependencies.embedded-io]
version = "0.6.1"
features = ["std"]
[target.'cfg(target_family = "wasm")'.dependencies.gilrs]
version = "0.11.0"
[target.'cfg(target_family = "wasm")'.dependencies.rust-embed]
version = "8.0.0"
features = ["debug-embed"]
[target.'cfg(target_family = "wasm")'.dependencies.vfs]
version = "0.12.0"
features = ["embedded-fs"]
[target.'cfg(target_family = "wasm")'.dependencies.wasm-bindgen]
version = "0.2.93"
[target.'cfg(target_family = "wasm")'.dependencies.web-sys]
version = "0.3.69"
features = [
"Window",
"Performance",
]
[target.'cfg(target_os = "android")'.dependencies.macroquad]
version = "0.4"
[target.'cfg(target_os = "none")'.dependencies.cobs]
version = "0.5.0"
default-features = false
[target.'cfg(target_os = "none")'.dependencies.embedded-hal]
version = "1.0.0"
[target.'cfg(target_os = "none")'.dependencies.embedded-hal-bus]
version = "0.3.0"
default-features = false
[target.'cfg(target_os = "none")'.dependencies.embedded-io]
version = "0.6.1"
default-features = false
[target.'cfg(target_os = "none")'.dependencies.embedded-sdmmc]
version = "0.9.0"
default-features = false
[target.'cfg(target_os = "none")'.dependencies.esp-alloc]
version = "0.9.0"
features = [
"esp32s3",
"nightly",
]
[target.'cfg(target_os = "none")'.dependencies.esp-hal]
version = "1.0.0"
features = [
"esp32s3",
"unstable",
]
[target.'cfg(target_os = "none")'.dependencies.micromath]
version = "2.1.0"
default-features = false