starryos 0.5.15

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.15"
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 = []
k230 = [
    "plat-dyn",
    "starry-kernel/k230-kpu",
    "ax-driver/k230-sdhci",
    "ax-driver/serial",
]
myplat = ["ax-feat/myplat"]
plat-dyn = [
    "dep:axplat-dyn",
    "starry-kernel/plat-dyn",
]
qemu = [
    "ax-feat/defplat",
    "ax-feat/irq",
    "ax-feat/rtc",
    "ax-feat/display",
    "starry-kernel/input",
    "starry-kernel/vsock",
]
rknpu = [
    "ax-driver/rknpu",
    "starry-kernel/rknpu",
]
sg2002 = [
    "ax-hal/riscv64-sg2002",
    "starry-kernel/sg2002",
]
sg2002-dyn = [
    "plat-dyn",
    "axplat-dyn/thead-mae",
    "starry-kernel/sg2002",
    "ax-driver/sg2002-placeholder",
]
smp = [
    "ax-feat/smp",
    "axplat-dyn?/smp",
    "ax-hal/smp",
]
std-compat = ["starry-kernel/std-compat"]
vf2 = ["ax-hal/riscv64-visionfive2"]

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

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

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

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

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

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

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

[dependencies.starry-kernel]
version = "0.6.1"
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.11"

[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"]