[package]
name = "ax-posix-api"
version = "0.5.3"
repository = "https://github.com/rcore-os/tgoskits"
edition = "2024"
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>"]
description = "POSIX-compatible APIs for ArceOS modules"
include = ["src/**/*.rs", "src/ctypes_gen.rs", "Cargo.toml", "build.rs", "ctypes.h"]
license = "Apache-2.0"

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

[dependencies]
flatten_objects = "0.2"

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

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

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

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

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

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

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

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

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

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

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

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

[dependencies.lazy_static]
version = "1.5"
features = ["spin_no_std"]

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

[dependencies.spin]
version = "0.10"

[build-dependencies]

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