# 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-std"
version = "0.5.27"
authors = [
    "Yuekai Jia <equation618@gmail.com>",
    "yanjuguang <coolyanjg@163.com>",
    "wudashuai <wu-ds20@mails.tsinghua.edu.cn>",
    "yfblock <321353225@qq.com>",
    "scPointer <bhy18@mails.tsinghua.edu.cn>",
    "Shiping Yuan <robert_yuan@pku.edu.com>",
]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "ArceOS user library with an interface similar to rust std"
readme = false
license = "Apache-2.0"
repository = "https://github.com/rcore-os/tgoskits"

[features]
aic8800-wifi = ["ax-runtime/aic8800-wifi"]
alloc = [
    "ax-api/alloc",
    "ax-io/alloc",
    "ax-posix-api/alloc",
]
backtrace = ["axbacktrace/alloc"]
default = [
    "alloc",
    "tls",
    "fd",
]
display = [
    "ax-api/display",
    "ax-runtime/display",
]
dma = [
    "ax-api/dma",
    "ax-runtime/paging",
]
dns = ["net"]
dwarf = ["axbacktrace/dwarf"]
ext-ld = ["ax-runtime/ext-ld"]
ext4fs = [
    "fs",
    "ax-runtime/ext4fs",
]
fatfs = [
    "fs",
    "ax-runtime/fatfs",
]
fd = [
    "ax-posix-api/fd",
    "ax-posix-api/poll",
]
fp-simd = ["ax-hal/fp-simd"]
fs = [
    "ax-api/fs",
    "ax-posix-api/fs",
    "ax-runtime/fs",
    "ax-driver/virtio-blk",
    "fd",
]
hv = ["ax-hal/hv"]
input = ["ax-runtime/input"]
ipi = [
    "ax-api/ipi",
    "ax-runtime/ipi",
]
irq = [
    "ax-api/irq",
    "ax-posix-api/irq",
    "ax-runtime/irq",
]
lockdep = [
    "multitask",
    "ax-posix-api/lockdep",
    "ax-runtime/lockdep",
]
multitask = [
    "ax-api/multitask",
    "ax-posix-api/multitask",
    "ax-runtime/multitask",
]
net = [
    "ax-api/net",
    "ax-posix-api/net",
    "ax-runtime/net",
    "ax-driver/virtio-net",
    "fd",
]
paging = [
    "alloc",
    "ax-runtime/paging",
]
rtc = ["ax-runtime/rtc"]
sched-cfs = [
    "irq",
    "multitask",
    "ax-task/sched-cfs",
]
sched-rr = [
    "irq",
    "multitask",
    "ax-task/sched-rr",
]
smp = [
    "ax-runtime/smp",
    "ax-kspin/smp",
    "ax-posix-api/smp",
]
stack-guard-page = ["ax-runtime/stack-guard-page"]
stack-protector = ["ax-runtime/stack-protector"]
std-compat = [
    "ax-alloc/global-allocator",
    "ax-runtime/std-compat",
]
task-ext = ["ax-task/task-ext"]
tls = ["ax-runtime/tls"]
tracepoint-hooks = ["ax-task/tracepoint-hooks"]
usb = [
    "irq",
    "ax-driver/usb",
]
uspace = ["ax-runtime/uspace"]
virtio-blk = ["ax-driver/virtio-blk"]
virtio-gpu = ["ax-driver/virtio-gpu"]
virtio-input = ["ax-driver/virtio-input"]
virtio-net = ["ax-driver/virtio-net"]
virtio-socket = ["ax-driver/virtio-socket"]
vsock = ["ax-runtime/vsock"]
wake-ipi = ["ax-runtime/wake-ipi"]

[lib]
name = "ax_std"
crate-type = [
    "rlib",
    "staticlib",
]
path = "src/lib.rs"

[dependencies.ax-alloc]
version = "0.8.11"
default-features = false

[dependencies.ax-api]
version = "0.7.3"

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

[dependencies.ax-errno]
version = "0.6.1"

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

[dependencies.ax-io]
version = "0.6.1"

[dependencies.ax-kspin]
version = "0.3.15"

[dependencies.ax-lazyinit]
version = "0.4.8"

[dependencies.ax-posix-api]
version = "0.5.28"

[dependencies.ax-runtime]
version = "0.10.3"

[dependencies.ax-task]
version = "0.6.3"

[dependencies.axbacktrace]
version = "0.4.5"

[dependencies.libc]
version = "0.2"
default-features = false

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

[dependencies.spin]
version = "=0.12.0"
features = [
    "lock_api",
    "once",
    "lazylock",
]
default-features = false
