tg-ch2 0.3.0-preview.1

Chapter 2 of rCore Tutorial: Batch processing system with privilege levels and trap handling.
# 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 = "2021"
name = "tg-ch2"
version = "0.3.0-preview.1"
authors = ["YdrMaster <ydrml@hotmail.com>"]
build = "build.rs"
exclude = ["tg-user/**"]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Chapter 2 of rCore Tutorial: Batch processing system with privilege levels and trap handling."
homepage = "https://github.com/rcore-os/rCore-Tutorial-in-single-workspace/tree/test"
documentation = "https://docs.rs/tg-ch2"
readme = "README.md"
keywords = [
    "rcore",
    "tutorial",
    "no-std",
    "riscv",
    "batch-system",
]
categories = [
    "no-std",
    "embedded",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/rcore-os/rCore-Tutorial-in-single-workspace"

[[bin]]
name = "tg-ch2"
path = "src/main.rs"

[dependencies.riscv]
version = "0.10.1"

[dependencies.tg-console]
version = "0.1.0-preview.2"

[dependencies.tg-kernel-context]
version = "0.1.0-preview.1"

[dependencies.tg-linker]
version = "0.1.0-preview.2"

[dependencies.tg-sbi]
version = "0.1.0-preview.1"
features = ["nobios"]

[dependencies.tg-syscall]
version = "0.1.0-preview.2"
features = ["kernel"]

[build-dependencies.serde]
version = "1"
features = ["derive"]

[build-dependencies.tg-linker]
version = "0.1.0-preview.2"

[build-dependencies.toml]
version = "0.8"

[profile.dev]
panic = "abort"

[profile.release]
panic = "abort"