fsys 0.4.0

Adaptive file and directory IO for Rust — fast, hardware-aware, multi-strategy.
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 = "2021"
rust-version = "1.75"
name = "fsys"
version = "0.4.0"
authors = ["James Gober <me@jamesgober.com>"]
build = false
include = [
    "src/**/*",
    "tests/**/*",
    "benches/**/*",
    "Cargo.toml",
    "README.md",
    "LICENSE-APACHE",
    "LICENSE-MIT",
    "CHANGELOG.md",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Adaptive file and directory IO for Rust — fast, hardware-aware, multi-strategy."
homepage = "https://github.com/jamesgober/fsys-rs"
documentation = "https://docs.rs/fsys"
readme = "README.md"
keywords = [
    "io",
    "filesystem",
    "storage",
    "durability",
    "nvme",
]
categories = [
    "filesystem",
    "hardware-support",
    "os",
]
license = "Apache-2.0 OR MIT"
repository = "https://github.com/jamesgober/fsys-rs"

[features]
async = ["dep:tokio"]
default = []

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

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

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

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

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

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

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

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

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

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

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

[[bench]]
name = "batch_throughput"
path = "benches/batch_throughput.rs"
harness = false

[[bench]]
name = "concurrent_batches"
path = "benches/concurrent_batches.rs"
harness = false

[[bench]]
name = "method_comparison"
path = "benches/method_comparison.rs"
harness = false

[[bench]]
name = "single_read"
path = "benches/single_read.rs"
harness = false

[[bench]]
name = "single_write"
path = "benches/single_write.rs"
harness = false

[[bench]]
name = "solo_vs_batch"
path = "benches/solo_vs_batch.rs"
harness = false

[dependencies.crossbeam-channel]
version = "0.5"

[dependencies.tokio]
version = "1"
features = [
    "fs",
    "rt",
]
optional = true

[dev-dependencies.criterion]
version = "0.5"
features = ["html_reports"]

[target."cfg(unix)".dependencies.libc]
version = "0.2"
default-features = false

[target."cfg(windows)".dependencies.windows-sys]
version = "0.59"
features = [
    "Win32_Storage_FileSystem",
    "Win32_Foundation",
    "Win32_System_IO",
    "Win32_Security",
]

[profile.bench]
opt-level = 3
lto = "thin"
codegen-units = 1
debug = 2

[profile.release]
opt-level = 3
lto = "thin"
codegen-units = 1
strip = "symbols"