compio-fs 0.12.1

Filesystem IO for compio
Documentation
# 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 = "compio-fs"
version = "0.12.1"
build = "build.rs"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Filesystem IO for compio"
readme = "README.md"
keywords = [
    "async",
    "fs",
]
categories = [
    "asynchronous",
    "filesystem",
]
license = "MIT"
repository = "https://github.com/compio-rs/compio"

[package.metadata.docs.rs]
all-features = true
rustdoc-args = [
    "--cfg",
    "docsrs",
]
targets = [
    "x86_64-unknown-linux-gnu",
    "x86_64-pc-windows-msvc",
    "aarch64-apple-darwin",
]

[features]
dir = ["dep:cap-primitives"]
nightly = [
    "read_buf",
    "windows_by_handle",
]
read_buf = [
    "compio-buf/read_buf",
    "compio-io/read_buf",
]
windows_by_handle = []

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

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

[[test]]
name = "dir"
path = "tests/dir.rs"
required-features = ["dir"]

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

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

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

[dependencies.compio-buf]
version = "0.8.3"

[dependencies.compio-driver]
version = "0.12.5"
default-features = false

[dependencies.compio-io]
version = "0.10.1"

[dependencies.compio-runtime]
version = "0.12.6"
features = ["async-fd"]

[dependencies.futures-util]
version = "0.3.29"

[dependencies.pin-project-lite]
version = "0.2.16"

[dev-dependencies.compio-macros]
version = "0.2.1"

[dev-dependencies.compio-runtime]
version = "0.12.6"
features = ["time"]

[dev-dependencies.futures-util]
version = "0.3.29"

[dev-dependencies.tempfile]
version = "3.8.1"

[build-dependencies.cfg_aliases]
version = "0.2.2"

[target.'cfg(target_os = "windows")'.dev-dependencies.windows-sys]
version = "0.61.0"
features = ["Win32_Security_Authorization"]

[target."cfg(unix)".dependencies.libc]
version = "0.2.175"

[target."cfg(unix)".dependencies.rustix]
version = "1.1.4"
features = [
    "stdio",
    "fs",
]

[target."cfg(unix)".dev-dependencies.compio-net]
version = "0.12.5"

[target."cfg(unix)".dev-dependencies.nix]
version = "0.31.1"
features = ["fs"]

[target."cfg(windows)".dependencies.cap-primitives]
version = "4.0.0"
optional = true

[target."cfg(windows)".dependencies.widestring]
version = "1.0.2"

[target."cfg(windows)".dependencies.windows-sys]
version = "0.61.0"
features = [
    "Win32_Foundation",
    "Win32_Security",
    "Win32_Storage_FileSystem",
    "Win32_System_Pipes",
    "Win32_System_SystemServices",
]

[target."cfg(windows)".dev-dependencies.windows-sys]
version = "0.61.0"
features = ["Win32_Security_Authorization"]