tg-kernel-context 0.4.2-preview.1

Kernel context management for rCore tutorial OS, including task context switching.
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 = "tg-kernel-context"
version = "0.4.2-preview.1"
authors = ["YdrMaster <ydrml@hotmail.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Kernel context management for rCore tutorial OS, including task context switching."
homepage = "https://github.com/rcore-os/rCore-Tutorial-in-single-workspace"
documentation = "https://docs.rs/tg-kernel-context"
readme = "README.md"
keywords = [
    "rcore",
    "kernel",
    "context",
    "riscv",
]
categories = [
    "no-std",
    "embedded",
]
license = "GPL-3.0"
repository = "https://github.com/rcore-os/rCore-Tutorial-in-single-workspace/tree/tg-preview"
resolver = "2"

[package.metadata.docs.rs]
targets = ["riscv64gc-unknown-none-elf"]

[features]
foreign = ["spin"]

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

[dependencies.spin]
version = "0.9"
optional = true