Cargo.toml 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  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. <<<<<<< HEAD
  19. riscv = "0.8"
  20. sbi-spec = { git = "https://github.com/rustsbi/sbi-spec.git", rev = "9d728bb" }
  21. # The following two dependencies are used to support legacy console feature
  22. embedded-hal = { version = "1.0.0-alpha.8", optional = true }
  23. nb = { version = "1.0", optional = true }
  24. =======
  25. embedded-hal = { version = "1.0.0-alpha.8", optional = true }
  26. nb = "1.0"
  27. riscv = "0.7"
  28. >>>>>>> a577447 (gate SBI legacy extension under `legacy` feature)
  29. [features]
  30. default = []
  31. # Support legacy extension; this feature is not included by default.
  32. <<<<<<< HEAD
  33. legacy = ["embedded-hal", "nb"]
  34. =======
  35. legacy = ["embedded-hal"]
  36. >>>>>>> a577447 (gate SBI legacy extension under `legacy` feature)
  37. # Dynamic pointer widths on SBI implementations; useful for developing hypervisors
  38. guest = []
  39. [package.metadata.docs.rs]
  40. default-target = "riscv64imac-unknown-none-elf"
  41. targets = [
  42. "riscv32imac-unknown-none-elf", "riscv64imac-unknown-none-elf",
  43. ]
  44. # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html