# 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 = "ax-runtime"
version = "0.5.1"
authors = ["Yuekai Jia <equation618@gmail.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Runtime library of ArceOS"
readme = false
license = "Apache-2.0"
repository = "https://github.com/rcore-os/tgoskits"

[features]
alloc = ["dep:ax-alloc"]
ax-driver = ["dep:ax-driver"]
buddy-slab = [
    "alloc",
    "ax-alloc/buddy-slab",
]
default = []
display = [
    "ax-driver",
    "dep:ax-display",
]
dma = ["paging"]
fs = [
    "ax-driver",
    "dep:ax-fs",
]
fs-ng = [
    "ax-driver",
    "dep:ax-fs-ng",
]
input = [
    "ax-driver",
    "dep:ax-input",
]
ipi = ["dep:ax-ipi"]
irq = [
    "ax-hal/irq",
    "ax-task?/irq",
    "dep:ax-percpu",
]
multitask = ["ax-task/multitask"]
net = [
    "ax-driver",
    "dep:ax-net",
]
net-ng = [
    "ax-driver",
    "dep:ax-net-ng",
]
paging = [
    "ax-hal/paging",
    "dep:ax-mm",
    "dep:axklib",
]
plat-dyn = [
    "ax-driver/dyn",
    "paging",
    "buddy-slab",
]
rtc = []
smp = [
    "ax-hal/smp",
    "ax-task?/smp",
]
tls = [
    "ax-hal/tls",
    "ax-task?/tls",
]
vsock = [
    "net-ng",
    "ax-net-ng/vsock",
]

[lib]
name = "ax_runtime"
path = "src/lib.rs"

[dependencies.ax-alloc]
version = "0.5.1"
optional = true

[dependencies.ax-config]
version = "0.5.1"

[dependencies.ax-crate-interface]
version = "0.5.0"

[dependencies.ax-ctor-bare]
version = "0.4.1"

[dependencies.ax-display]
version = "0.5.1"
optional = true

[dependencies.ax-driver]
version = "0.5.1"
optional = true

[dependencies.ax-fs]
version = "0.5.1"
optional = true

[dependencies.ax-fs-ng]
version = "0.5.1"
optional = true

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

[dependencies.ax-input]
version = "0.5.1"
optional = true

[dependencies.ax-ipi]
version = "0.5.1"
optional = true

[dependencies.ax-log]
version = "0.5.1"

[dependencies.ax-mm]
version = "0.5.1"
optional = true

[dependencies.ax-net]
version = "0.5.1"
optional = true

[dependencies.ax-net-ng]
version = "0.5.1"
optional = true

[dependencies.ax-percpu]
version = "0.4.3"
optional = true

[dependencies.ax-plat]
version = "0.5.1"

[dependencies.ax-task]
version = "0.5.1"
optional = true

[dependencies.axbacktrace]
version = "0.3.3"

[dependencies.axklib]
version = "0.5.1"
optional = true

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

[dependencies.chrono]
version = "0.4"
default-features = false

[dependencies.indoc]
version = "2"
