Cargo.toml 874 B

123456789101112131415161718192021222324252627282930313233343536
  1. [package]
  2. authors = ["Kevin Lee"]
  3. edition = "2018"
  4. readme = "README.md"
  5. name = "nixie_firmware_rust"
  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. # Uncomment for the panic example.
  13. # panic-itm = "0.4.1"
  14. # Uncomment for the allocator example.
  15. # alloc-cortex-m = "0.4.0"
  16. # Uncomment for the device example.
  17. # Update `memory.x`, set target to `thumbv7em-none-eabihf` in `.cargo/config`,
  18. # and then use `cargo build --examples device` to build it.
  19. # [dependencies.stm32f3]
  20. # features = ["stm32f303", "rt"]
  21. # version = "0.7.1"
  22. # this lets you use `cargo fix`!
  23. [[bin]]
  24. name = "nixie_firmware_rust"
  25. test = false
  26. bench = false
  27. [profile.release]
  28. codegen-units = 1 # better optimizations
  29. debug = true # symbols are nice and they don't increase the size on Flash
  30. lto = true # better optimizations