ax-posix-api 0.5.21

POSIX-compatible APIs for ArceOS modules
# 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-posix-api"
version = "0.5.21"
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 = "build.rs"
include = [
    "src/**/*.rs",
    "Cargo.toml",
    "build.rs",
    "ctypes.h",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "POSIX-compatible APIs for ArceOS modules"
readme = false
license = "Apache-2.0"
repository = "https://github.com/rcore-os/tgoskits"

[features]
alloc = [
    "dep:ax-alloc",
    "ax-feat/alloc",
]
default = []
epoll = ["fd"]
fd = [
    "alloc",
    "dep:scope-local",
]
fs = [
    "dep:ax-fs-ng",
    "ax-feat/fs",
    "fd",
]
irq = ["ax-feat/irq"]
lockdep = [
    "multitask",
    "ax-feat/lockdep",
    "ax-sync/lockdep",
]
multitask = [
    "alloc",
    "ax-task/multitask",
    "ax-feat/multitask",
    "ax-sync/multitask",
]
net = [
    "dep:ax-net",
    "ax-feat/net",
    "fd",
]
pipe = ["fd"]
plat-dyn = [
    "ax-feat/plat-dyn",
    "smp",
]
poll = ["fd"]
select = ["fd"]
smp = ["ax-feat/smp"]

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

[dependencies.ax-alloc]
version = "0.8.4"
optional = true
default-features = false

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

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

[dependencies.ax-feat]
version = "0.5.21"

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

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

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

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

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

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

[dependencies.ax-sync]
version = "0.5.20"

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

[dependencies.axpoll]
version = "0.4.0"

[dependencies.flatten_objects]
version = "0.2"

[dependencies.scope-local]
version = "0.4.0"
optional = true

[dependencies.spin]
version = "0.12"

[build-dependencies.bindgen]
version = "0.72"