[package]
name = "neopixel-avr"
version = "0.1.0"
edition = "2021"

[dependencies]
smart-leds = "0.4.0"

[dependencies.arduino-hal]
git = "https://github.com/rahix/avr-hal"
rev = "3e362624547462928a219c40f9ea8e3a64f21e5f"

[dependencies.static-pins]
git = "https://gitea.doryan04.ru/TheEmbeddedRust/static-pins"

[features]
sparkfun-promicro = ["arduino-hal/sparkfun-promicro", "static-pins/sparkfun-promicro"]

[dependencies.avr-device]
version = "0.5.4"

[profile.dev]
panic = "abort"
codegen-units = 1
debug = true
lto = true
opt-level = "s"

[profile.release]
panic = "abort"
lto = true
opt-level = "s"