4
0

Cargo.toml 1.1 KB

12345678910111213141516171819202122232425262728293031323334
  1. [package]
  2. name = "riscv-peripheral"
  3. version = "0.1.0"
  4. edition = "2021"
  5. rust-version = "1.75"
  6. repository = "https://github.com/rust-embedded/riscv"
  7. authors = ["The RISC-V Team <[email protected]>"]
  8. categories = ["embedded", "hardware-support", "no-std"]
  9. description = "Interfaces for standard RISC-V peripherals"
  10. documentation = "https://docs.rs/riscv-peripheral"
  11. keywords = ["riscv", "peripheral", "clint", "plic"]
  12. license = "ISC"
  13. # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
  14. [dependencies]
  15. embedded-hal = "1.0.0"
  16. embedded-hal-async = { version = "1.0.0", optional = true }
  17. riscv = { path = "../riscv", version = "0.11.1" }
  18. riscv-pac = { path = "../riscv-pac", version = "0.1.1" }
  19. [dev-dependencies]
  20. heapless = "0.8.0"
  21. [features]
  22. aclint-hal-async = ["embedded-hal-async"]
  23. [package.metadata.docs.rs]
  24. all-features = true
  25. default-target = "riscv64imac-unknown-none-elf"
  26. targets = [
  27. "riscv32i-unknown-none-elf", "riscv32imc-unknown-none-elf", "riscv32imac-unknown-none-elf",
  28. "riscv64imac-unknown-none-elf", "riscv64gc-unknown-none-elf",
  29. ]