2 Star 2 Fork 0

Cyberspace Penetration&Defense/rustsbi

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
Cargo.toml 1.89 KB
一键复制 编辑 原始数据 按行查看 历史
[package]
name = "rustsbi"
description = "Minimal RISC-V's SBI implementation library in Rust"
version = "0.4.0"
authors = [
"Luo Jia <me@luojia.cc>",
"Campbell He <hkp18@mails.tsinghua.edu.cn>",
"Yifan Wu <shinbokuow@163.com>",
]
documentation = "https://docs.rs/rustsbi"
edition.workspace = true
license.workspace = true
repository.workspace = true
readme = "README.md"
keywords = ["riscv", "sbi", "rustsbi"]
categories = ["os", "embedded", "hardware-support", "no-std"]
exclude = ["/.github"]
[dependencies]
sbi-spec = { version = "0.0.8", path = "sbi-spec" }
riscv = { version = "0.12.0", optional = true, default-features = false }
sbi-rt = { version = "0.0.3", features = ["integer-impls"], optional = true, path = "sbi-rt" }
rustsbi-macros = { version = "0.0.2", path = "macros" }
[features]
default = []
# Run RustSBI on machine mode.
# This feature enables to use RISC-V primitives on current machine mode environment
# If you are developing a cross-architecture virtual machine, consider disabling this feature
# to customize environment variables for RISC-V architecture like mvendorid, mimpid, etc.
machine = ["rustsbi-macros/machine", "dep:riscv"]
# Enables the struct `Forward`.
# Struct `Forward` uses the current SBI environment to implement the RustSBI environment.
# This feature is only usable when current software runs on another SBI environment,
# e.g., hypervisors for RISC-V architecture.
forward = ["dep:sbi-rt"]
[package.metadata.docs.rs]
default-target = "riscv64imac-unknown-none-elf"
targets = [
"riscv32imac-unknown-none-elf", "riscv64imac-unknown-none-elf",
]
[workspace]
resolver = "2"
members = [
"macros",
"sbi-rt",
"sbi-spec",
"sbi-testing",
]
[workspace.package]
edition = "2021"
license = "MulanPSL-2.0 OR MIT"
repository = "https://github.com/rustsbi/rustsbi"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Rust
1
https://gitee.com/cpdt/rustsbi.git
git@gitee.com:cpdt/rustsbi.git
cpdt
rustsbi
rustsbi
main

搜索帮助

0d507c66 1850385 C8b1a773 1850385