# 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 = "starry-kernel"
version = "0.1.0"
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 = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A Linux-compatible OS kernel built on ArceOS unikernel"
homepage = "https://github.com/arceos-org/arceos"
readme = "README.md"
license = "Apache-2.0"
repository = "https://github.com/arceos-org/starry-next"
resolver = "2"

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

[features]
default = []
qemu = [
    "axfeat/display",
    "axfeat/input",
    "starry-api/input",
    "axfeat/defplat",
    "axfeat/bus-pci",
    "axfeat/fs-times",
    "starry-api/dev-log",
]
smp = ["axfeat/smp"]

[[bin]]
name = "starry-kernel"
path = "src/main.rs"
required-features = ["qemu"]

[dependencies.axdriver]
version = "0.2.2-preview.1"

[dependencies.axerrno]
version = "0.2"

[dependencies.axfeat]
version = "0.2.2-preview.1"
features = [
    "alloc-slab",
    "fp-simd",
    "fs-ext4",
    "irq",
    "multitask",
    "net",
    "page-alloc-4g",
    "rtc",
    "sched-rr",
    "task-ext",
    "uspace",
]

[dependencies.axfs]
version = "0.2.2-preview.1"

[dependencies.axhal]
version = "0.2.2-preview.5"

[dependencies.axlog]
version = "0.2.2-preview.1"

[dependencies.axruntime]
version = "0.2.2-preview.2"

[dependencies.axsync]
version = "0.2.2-preview.1"

[dependencies.axtask]
version = "0.2.2-preview.3"

[dependencies.cfg-if]
version = "1.0"

[dependencies.linkme]
version = "0.3.33"

[dependencies.linux-raw-sys]
version = "0.11"
features = [
    "no_std",
    "general",
    "net",
    "prctl",
    "system",
]
default-features = false

[dependencies.starry-api]
version = "0.1.0"

[dependencies.starry-core]
version = "0.1.0"

[dependencies.starry-process]
version = "0.2"

[dependencies.starry-signal]
version = "0.2.4-preview.1"