Cargo.toml 1022 B

123456789101112131415161718192021222324252627282930313233343536373839404142
  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. # Uncomment for the panic example.
  15. # panic-itm = "0.4.1"
  16. # Uncomment for the allocator example.
  17. # alloc-cortex-m = "0.4.0"
  18. # Uncomment for the device example.
  19. # Update `memory.x`, set target to `thumbv7em-none-eabihf` in `.cargo/config`,
  20. # and then use `cargo build --examples device` to build it.
  21. # [dependencies.stm32f3]
  22. # features = ["stm32f303", "rt"]
  23. # version = "0.7.1"
  24. [dependencies.stm32l4xx-hal]
  25. version = "0.6.0"
  26. features = ["stm32l4x2", "rt"]
  27. # this lets you use `cargo fix`!
  28. # [[bin]]
  29. # name = "nixie-clock-in-8"
  30. # test = false
  31. # bench = false
  32. [profile.release]
  33. codegen-units = 1 # better optimizations
  34. debug = true # symbols are nice and they don't increase the size on Flash
  35. lto = true # better optimizations