rustsbi 0.4.1

Minimal RISC-V's SBI implementation library in Rust
Documentation
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2024"
name = "rustsbi"
version = "0.4.1"
authors = [
    "Zhouqi Jiang / Luo Jia <luojia@rustsbi.com>",
    "Campbell He <hkp18@mails.tsinghua.edu.cn>",
    "Yifan Wu <shinbokuow@163.com>",
]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Minimal RISC-V's SBI implementation library in Rust"
documentation = "https://docs.rs/rustsbi"
readme = "README.md"
keywords = [
    "riscv",
    "sbi",
    "rustsbi",
]
categories = [
    "os",
    "embedded",
    "hardware-support",
    "no-std",
]
license = "MulanPSL-2.0 OR MIT"
repository = "https://github.com/rustsbi/rustsbi"

[package.metadata.docs.rs]
default-target = "riscv64imac-unknown-none-elf"
targets = [
    "riscv32imac-unknown-none-elf",
    "riscv64imac-unknown-none-elf",
]

[features]
default = []
forward = ["dep:sbi-rt"]
machine = [
    "rustsbi-macros/machine",
    "dep:riscv",
]

[lib]
name = "rustsbi"
path = "src/lib.rs"

[[example]]
name = "derive"
path = "examples/derive/main.rs"

[[test]]
name = "build-full"
path = "tests/build-full.rs"

[[test]]
name = "build-generics"
path = "tests/build-generics.rs"

[[test]]
name = "build-rename"
path = "tests/build-rename.rs"

[[test]]
name = "build-skip"
path = "tests/build-skip.rs"

[[test]]
name = "dynamic-generics"
path = "tests/dynamic-generics.rs"

[[test]]
name = "dynamic-priority"
path = "tests/dynamic-priority.rs"

[[test]]
name = "forward-struct"
path = "tests/forward-struct.rs"

[dependencies.riscv]
version = "0.16.0"
optional = true
default-features = false

[dependencies.rustsbi-macros]
version = "0.0.2"

[dependencies.sbi-rt]
version = "0.0.4"
features = ["integer-impls"]
optional = true

[dependencies.sbi-spec]
version = "0.0.9"