[package] name = "rpmcontrol" version = "0.1.0" authors = ["Michael Buesch "] edition = "2021" license = "MIT OR Apache-2.0" [[bin]] name = "rpmcontrol" test = false bench = false [dependencies] panic-halt = "0.2.0" avr-device = { version = "0.5", features = [ "attiny26", "rt" ] } #attiny-hal = { version = "0.1", features = [ "attiny26" ] } #embedded-hal = "1" # The latest releases of `proc-macro2` do not support the rust toolchain that # we use. Thus, we must fix this dependency to an older version where our # toolchain is still supported. See https://github.com/Rahix/avr-hal/issues/537 [build-dependencies.proc-macro2] version = "=1.0.79" [profile.dev] panic = "abort" lto = "fat" opt-level = "s" [profile.release] panic = "abort" codegen-units = 1 lto = "fat" opt-level = "s" [patch.crates-io] avr-device = { path = "../../avr-device" } #attiny-hal = { path = "../../avr-hal/mcu/attiny-hal" } #avr-hal-generic = { path = "../../avr-hal/avr-hal-generic" }