4
0

Cargo.toml 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. [package]
  2. name = "rustsbi"
  3. description = "Minimal RISC-V's SBI implementation library in Rust"
  4. version = "0.2.2"
  5. authors = [
  6. "Luo Jia <[email protected]>",
  7. "Campbell He <[email protected]>",
  8. "Yifan Wu <[email protected]>",
  9. ]
  10. repository = "https://github.com/rustsbi/rustsbi"
  11. documentation = "https://docs.rs/rustsbi"
  12. license = "MulanPSL-2.0 OR MIT"
  13. readme = "README.md"
  14. keywords = ["riscv", "sbi", "rustsbi"]
  15. categories = ["os", "embedded", "hardware-support", "no-std"]
  16. edition = "2021"
  17. [dependencies]
  18. riscv = "0.8"
  19. sbi-spec = { git = "https://github.com/rustsbi/sbi-spec.git", rev = "9d728bb" }
  20. # The following two dependencies are used to support legacy console feature
  21. embedded-hal = { version = "1.0.0-alpha.8", optional = true }
  22. nb = { version = "1.0", optional = true }
  23. [features]
  24. default = []
  25. # Support legacy extension; this feature is not included by default.
  26. legacy = ["embedded-hal", "nb"]
  27. # Dynamic pointer widths on SBI implementations; useful for developing hypervisors
  28. guest = []
  29. [package.metadata.docs.rs]
  30. default-target = "riscv64imac-unknown-none-elf"
  31. targets = [
  32. "riscv32imac-unknown-none-elf", "riscv64imac-unknown-none-elf",
  33. ]
  34. # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html