Cargo.toml 1.2 KB

1234567891011121314151617181920212223242526272829303132333435
  1. [package]
  2. name = "sbi-rt"
  3. version = "0.0.3"
  4. description = "Runtime library for supervisors to call RISC-V Supervisor Binary Interface (RISC-V SBI)"
  5. categories = ["os", "embedded", "hardware-support", "no-std"]
  6. keywords = ["riscv", "sbi", "rustsbi"]
  7. authors = [
  8. "YdrMaster <[email protected]>",
  9. "Luo Jia <[email protected]>",
  10. ]
  11. documentation = "https://docs.rs/sbi-rt"
  12. edition.workspace = true
  13. license.workspace = true
  14. repository.workspace = true
  15. readme = "README.md"
  16. [package.metadata.docs.rs]
  17. default-target = "riscv64imac-unknown-none-elf"
  18. targets = [
  19. "riscv32imac-unknown-none-elf", "riscv64imac-unknown-none-elf",
  20. ]
  21. [dependencies]
  22. sbi-spec = { version = "0.0.8", path = "../sbi-spec" }
  23. [features]
  24. default = []
  25. # Implement sbi-rt traits for integer types
  26. # By using this feature, parameter types of sbi-rt functions fall back to integers;
  27. # static type checks are disabled, so this library won't detect parameters in incorrect orders.
  28. # Although some people may find it useful in prototyping sbi-rt implementations,
  29. # users of this crate are strongly encouraged not to enable this feature in production.
  30. integer-impls = []
  31. # Support for the legacy extension; this feature is not included by default.
  32. legacy = ["sbi-spec/legacy"]