Cargo.toml 649 B

12345678910111213141516171819202122232425262728293031323334
  1. [package]
  2. name = "mega2560"
  3. version = "0.1.0"
  4. authors = ["Jake Kalstad <jakekalstad@gmail.com>"]
  5. edition = "2021"
  6. license = "MIT OR Apache-2.0"
  7. [[bin]]
  8. name = "mega2560"
  9. test = false
  10. bench = false
  11. [dependencies]
  12. panic-halt = "0.2.0"
  13. ag-lcd = "*"
  14. embedded-hal = "0.2.7"
  15. [dependencies.arduino-hal]
  16. git = "https://github.com/rahix/avr-hal"
  17. rev = "3b8f39fa2ec5e3359c7bedc33d982e75e8cc3700"
  18. features = ["arduino-mega2560"]
  19. # Configure the build for minimal size - AVRs have very little program memory
  20. [profile.dev]
  21. panic = "abort"
  22. lto = true
  23. opt-level = "s"
  24. [profile.release]
  25. panic = "abort"
  26. codegen-units = 1
  27. debug = true
  28. lto = true
  29. opt-level = "s"