starryos 0.5.24

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.24"
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 = []
jpeg = [
    "ax-driver/jpeg",
    "starry-kernel/jpeg",
]
k230 = [
    "starry-kernel/k230-kpu",
    "ax-driver/k230-sdhci",
    "ax-driver/serial",
]
qemu = [
    "ax-runtime/irq",
    "ax-runtime/rtc",
    "ax-runtime/display",
    "starry-kernel/input",
    "starry-kernel/vsock",
]
rk3588-pwm = ["starry-kernel/rk3588-pwm"]
rknpu = [
    "ax-driver/rknpu",
    "starry-kernel/rknpu",
]
smp = [
    "ax-runtime/smp",
    "axplat-dyn/smp",
    "ax-hal/smp",
    "starry-kernel/ipi",
]
stack-protector = [
    "ax-std/stack-protector",
    "starry-kernel/stack-protector",
]

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

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

[dependencies.ax-driver]
version = "0.11.3"

[dependencies.ax-hal]
version = "0.5.27"

[dependencies.ax-runtime]
version = "0.10.3"
features = [
    "ext-ld",
    "irq",
]

[dependencies.ax-std]
version = "0.5.27"
features = [
    "ext-ld",
    "fs",
    "multitask",
    "irq",
]

[dependencies.axplat-dyn]
version = "0.7.11"
default-features = false

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

[target.'cfg(any(windows, all(unix, not(target_env = "musl"))))'.dependencies.anyhow]
version = "1.0"

[target.'cfg(any(windows, all(unix, not(target_env = "musl"))))'.dependencies.axbuild]
version = "0.4.19"

[target.'cfg(any(windows, all(unix, not(target_env = "musl"))))'.dependencies.clap]
version = "4.6"
features = ["derive"]

[target.'cfg(any(windows, all(unix, not(target_env = "musl"))))'.dependencies.tokio]
version = "1.0"
features = ["full"]