Cargo.toml 672 B

1234567891011121314151617181920212223242526272829303132333435
  1. [package]
  2. name = "traffic-light-arduino-uno"
  3. version = "0.1.0"
  4. authors = ["Felix Bytow <drako@drako.guru>"]
  5. edition = "2021"
  6. license = "MIT"
  7. [[bin]]
  8. name = "traffic-light-arduino-uno"
  9. test = false
  10. bench = false
  11. [dependencies]
  12. panic-halt = "1.0.0"
  13. ufmt = "0.2.0"
  14. nb = "1.1.0"
  15. embedded-hal = "1.0"
  16. [dependencies.arduino-hal]
  17. git = "https://github.com/rahix/avr-hal"
  18. rev = "fafaf587a32a4500239fd073f89d1b9c36b48092"
  19. features = ["arduino-uno"]
  20. # Configure the build for minimal size - AVRs have very little program memory
  21. [profile.dev]
  22. panic = "abort"
  23. lto = true
  24. opt-level = "s"
  25. [profile.release]
  26. panic = "abort"
  27. codegen-units = 1
  28. debug = true
  29. lto = true
  30. opt-level = "s"