# 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"
rust-version = "1.85"
name = "cg-tg-rcore-tutorial-t3l2"
version = "0.0.0"
authors = [
    "YdrMaster <ydrml@hotmail.com>",
    "Yifan Wang<w-yf22@mails.tsinghua.edu.cn>",
    "Yu Chen <yuchen@tsinghua.edu.cn>",
]
build = "build.rs"
include = [
    ".cargo/config.toml",
    "Cargo.toml",
    "Makefile",
    "README.md",
    "build.rs",
    "docs/**",
    "rust-toolchain.toml",
    "src/**",
    "test.sh",
    "user-src/**",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A learning-oriented rCore Tutorial chapter 2 kernel crate that assembles a moving Tangram OS logo through batch user programs and trap-driven syscalls."
homepage = "https://github.com/cg24-THU/tg-rcore-tutorial/tree/test/tg-rcore-tutorial-ch2"
documentation = "https://docs.rs/cg-tg-rcore-tutorial-t3l2"
readme = "README.md"
keywords = [
    "ai",
    "ai4ose",
    "kernel",
    "learning",
    "os",
]
categories = [
    "os",
    "embedded",
    "no-std",
]
license = "GPL-3.0"
repository = "https://github.com/cg24-THU/tg-rcore-tutorial"

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

[[bin]]
name = "cg-tg-rcore-tutorial-t3l2"
path = "src/main.rs"
test = false
bench = false

[dependencies.riscv]
version = "0.10.1"

[dependencies.spin]
version = "0.9"

[dependencies.tg-console]
version = "0.4.8"
package = "tg-rcore-tutorial-console"

[dependencies.tg-kernel-context]
version = "0.4.8"
package = "tg-rcore-tutorial-kernel-context"

[dependencies.tg-linker]
version = "0.4.8"
package = "tg-rcore-tutorial-linker"

[dependencies.tg-sbi]
version = "0.4.8"
features = ["nobios"]
package = "tg-rcore-tutorial-sbi"

[dependencies.tg-syscall]
version = "0.4.8"
features = ["kernel"]
package = "tg-rcore-tutorial-syscall"

[dependencies.virtio-drivers]
version = "0.1.0"

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

[build-dependencies.tg-linker]
version = "0.4.8"
package = "tg-rcore-tutorial-linker"

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

[profile.dev]
panic = "abort"

[profile.release]
panic = "abort"
