Cargo.toml 683 B

12345678910111213141516171819202122
  1. [package]
  2. name = "riscv-peripheral"
  3. version = "0.1.0"
  4. edition = "2021"
  5. # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
  6. [dependencies]
  7. embedded-hal = "1.0.0-rc.2"
  8. embedded-hal-async = { version = "1.0.0-rc.2", optional = true }
  9. riscv = { path = "../riscv", version = "0.10" }
  10. riscv-pac = { path = "../riscv-pac", version = "0.1.0" }
  11. [features]
  12. hal-async = ["embedded-hal-async"]
  13. [package.metadata.docs.rs]
  14. default-target = "riscv64imac-unknown-none-elf"
  15. targets = [
  16. "riscv32i-unknown-none-elf", "riscv32imc-unknown-none-elf", "riscv32imac-unknown-none-elf",
  17. "riscv64imac-unknown-none-elf", "riscv64gc-unknown-none-elf",
  18. ]