starryos 0.5.11

A Linux-compatible OS kernel built on ArceOS unikernel
# 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 = "starryos"
version = "0.5.11"
authors = [
    "Azure-stars <Azure_stars@126.com>",
    "Yuekai Jia <equation618@gmail.com>",
    "KylinSoft Co., Ltd. <https://www.kylinos.cn/>",
    "朝倉水希 <asakuramizu111@gmail.com>",
    "Mivik <mivikq@gmail.com>",
]
build = "build.rs"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A Linux-compatible OS kernel built on ArceOS unikernel"
readme = false
license = "Apache-2.0"
repository = "https://github.com/rcore-os/tgoskits"

[package.metadata.vendor-filter]
all-features = true
platforms = [
    "riscv64gc-unknown-none-elf",
    "loongarch64-unknown-none-softfloat",
]

[features]
default = []
kcov = ["starry-kernel/kcov"]
qemu = [
    "ax-feat/defplat",
    "ax-feat/irq",
    "ax-feat/rtc",
    "ax-feat/bus-pci",
    "ax-feat/display",
    "starry-kernel/input",
    "starry-kernel/vsock",
    "axplat-dyn?/rtc",
    "axplat-dyn?/intel-net",
    "axplat-dyn?/virtio-net-pci",
]
rknpu = [
    "dep:axplat-dyn",
    "starry-kernel/rknpu",
    "axplat-dyn/rknpu",
]
sg2002 = [
    "ax-plat-riscv64-sg2002",
    "ax-feat/driver-cvsd",
    "starry-kernel/sg2002",
]
smp = [
    "ax-feat/smp",
    "axplat-dyn?/smp",
    "axplat-riscv64-visionfive2?/smp",
]
vf2 = [
    "dep:axplat-riscv64-visionfive2",
    "ax-feat/driver-sdmmc",
]

[[bin]]
name = "starryos"
path = "src/main.rs"

[[bin]]
name = "xtask"
path = "xtask/main.rs"

[dependencies.ax-feat]
version = "0.5.15"
features = [
    "fs-ng-times",
    "irq",
]

[dependencies.axplat-dyn]
version = "0.6.1"
optional = true
default-features = false

[dependencies.starry-kernel]
version = "0.5.11"
features = [
    "dev-log",
    "ext4",
]

[target.'cfg(any(target_arch = "riscv32", target_arch = "riscv64"))'.dependencies.ax-plat-riscv64-sg2002]
version = "0.3.5"
features = [
    "fp-simd",
    "irq",
    "rtc",
]
optional = true

[target.'cfg(any(target_arch = "riscv32", target_arch = "riscv64"))'.dependencies.axplat-riscv64-visionfive2]
version = "0.1.3"
features = [
    "fp-simd",
    "irq",
    "rtc",
]
optional = true

[target."cfg(any(windows,unix))".dependencies.anyhow]
version = "1.0"

[target."cfg(any(windows,unix))".dependencies.axbuild]
version = "0.4.7"

[target."cfg(any(windows,unix))".dependencies.clap]
version = "4.6"
features = ["derive"]

[target."cfg(any(windows,unix))".dependencies.tokio]
version = "1.0"
features = ["full"]