libriscv 0.3.0

Safe wrapper for libriscv_sys, a fast RISC-V sandbox emulator
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 = "libriscv"
version = "0.3.0"
authors = ["nemurubaka <cijiugechu@gmail.com>"]
build = false
exclude = [
    "examples/advanced/riscv_program",
    "examples/advanced/rust_program",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Safe wrapper for libriscv_sys, a fast RISC-V sandbox emulator"
readme = "README.md"
keywords = [
    "riscv",
    "emulator",
    "vm",
    "ffi",
    "bindings",
]
license = "BSD-3-Clause"
repository = "https://github.com/cijiugechu/libriscv"

[features]
binary-translation = ["libriscv_sys/binary-translation"]
bindgen = ["libriscv_sys/bindgen"]
bytemuck = ["dep:bytemuck"]
default = ["bytemuck"]

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

[[example]]
name = "advanced_syscalls"
path = "examples/advanced_syscalls.rs"

[[example]]
name = "basic"
path = "examples/basic.rs"

[[example]]
name = "registry_thread"
path = "examples/registry_thread.rs"

[[example]]
name = "vmcall"
path = "examples/vmcall.rs"

[dependencies.bytemuck]
version = "1.24"
features = ["derive"]
optional = true

[dependencies.libriscv-macros]
version = "0.2.0"

[dependencies.libriscv_sys]
version = "0.1.0"