[package]
edition = "2021"
rust-version = "1.75"
name = "fsys"
version = "0.6.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 = []
fuzz = []
stress = []
[lib]
name = "fsys"
path = "src/lib.rs"
[[test]]
name = "async_batch"
path = "tests/async_batch.rs"
[[test]]
name = "async_crud"
path = "tests/async_crud.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 = "crash_data"
path = "tests/crash_data.rs"
[[test]]
name = "crash_direct"
path = "tests/crash_direct.rs"
[[test]]
name = "crash_mmap"
path = "tests/crash_mmap.rs"
[[test]]
name = "crash_sync"
path = "tests/crash_sync.rs"
[[test]]
name = "dir_completion"
path = "tests/dir_completion.rs"
[[test]]
name = "edge_cases"
path = "tests/edge_cases.rs"
[[test]]
name = "foundation"
path = "tests/foundation.rs"
[[test]]
name = "method_mmap"
path = "tests/method_mmap.rs"
[[test]]
name = "nvme_passthrough"
path = "tests/nvme_passthrough.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"
[[test]]
name = "stress"
path = "tests/stress.rs"
[[test]]
name = "write_copy"
path = "tests/write_copy.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 = "direct_iouring"
path = "benches/direct_iouring.rs"
harness = false
[[bench]]
name = "method_comparison"
path = "benches/method_comparison.rs"
harness = false
[[bench]]
name = "method_payload_matrix"
path = "benches/method_payload_matrix.rs"
harness = false
[[bench]]
name = "mmap_workloads"
path = "benches/mmap_workloads.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.crossbeam-queue]
version = "0.3"
[dependencies.glob]
version = "0.3"
[dependencies.memmap2]
version = "0.9"
[dependencies.tokio]
version = "1"
features = [
"rt",
"rt-multi-thread",
"sync",
"macros",
]
optional = true
[dev-dependencies.criterion]
version = "0.5"
features = ["html_reports"]
[target.'cfg(target_os = "linux")'.dependencies.io-uring]
version = "0.6"
[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_Storage_IscsiDisc",
"Win32_Foundation",
"Win32_System_IO",
"Win32_System_Ioctl",
"Win32_System_Pipes",
"Win32_System_SystemInformation",
"Win32_Security",
"Win32_Security_Authorization",
]
[profile.bench]
opt-level = 3
lto = "thin"
codegen-units = 1
debug = 2
[profile.release]
opt-level = 3
lto = "thin"
codegen-units = 1
strip = "symbols"