Cargo.toml 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. [package]
  2. authors = ["Kevin Lee <Kevin@0x7D.com>"]
  3. edition = "2018"
  4. readme = "README.md"
  5. name = "nixie-clock-in-8"
  6. version = "0.1.0"
  7. [dependencies]
  8. cortex-m = "0.6.0"
  9. cortex-m-rt = "0.6.10"
  10. cortex-m-semihosting = "0.3.3"
  11. # panic-halt = "0.2.0"
  12. tock-registers = "0.7.0"
  13. field-offset = "0.3.4"
  14. stm32l4xx-hal = { version = "0.6.0", features = ["stm32l4x2", "rt"] }
  15. # Uncomment for the panic example.
  16. # panic-itm = "0.4.1"
  17. # Uncomment for the allocator example.
  18. # alloc-cortex-m = "0.4.0"
  19. # Uncomment for the device example.
  20. # Update `memory.x`, set target to `thumbv7em-none-eabihf` in `.cargo/config`,
  21. # and then use `cargo build --examples device` to build it.
  22. # [dependencies.stm32f3]
  23. # features = ["stm32f303", "rt"]
  24. # version = "0.7.1"
  25. # [dependencies.stm32l4xx-hal]
  26. # version = "0.6.0"
  27. # features = ["stm32l4x2", "rt"]
  28. # this lets you use `cargo fix`!
  29. # [[bin]]
  30. # name = "nixie-clock-in-8"
  31. # test = false
  32. # bench = false
  33. [profile.release]
  34. codegen-units = 1 # better optimizations
  35. debug = true # symbols are nice and they don't increase the size on Flash
  36. lto = true # better optimizations