# 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-io"
version = "0.6.1"
authors = ["Yuekai Jia <equation618@gmail.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "`std::io` for `no_std` environment"
readme = "README.md"
keywords = [
    "arceos",
    "io",
    "no-std",
]
categories = ["no-std"]
license = "Apache-2.0"
repository = "https://github.com/rcore-os/tgoskits"

[features]
alloc = []
default = []

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

[[test]]
name = "buffered"
path = "tests/buffered.rs"

[[test]]
name = "copy"
path = "tests/copy.rs"

[[test]]
name = "cursor"
path = "tests/cursor.rs"

[[test]]
name = "impls"
path = "tests/impls.rs"

[[test]]
name = "io"
path = "tests/io.rs"

[[test]]
name = "iobuf"
path = "tests/iobuf.rs"

[[test]]
name = "iofn"
path = "tests/iofn.rs"

[[test]]
name = "utils"
path = "tests/utils.rs"

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

[dependencies.heapless]
version = "0.9"

[dependencies.memchr]
version = "2"
default-features = false
