random-access-disk 4.0.0-alpha

Continuously read and write to disk, using random offsets and lengths
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 = "random-access-disk"
version = "4.0.0-alpha"
authors = [
    "Yoshua Wuyts <yoshuawuyts@gmail.com>",
    "Timo Tiuraniemi <timo.tiuraniemi@iki.fi>",
]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Continuously read and write to disk, using random offsets and lengths"
documentation = "https://docs.rs/random-access-disk"
readme = "README.md"
license = "MIT OR Apache-2.0"
repository = "https://github.com/datrs/random-access-disk"

[features]
default = ["sparse"]
sparse = ["dep:libc"]

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

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

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

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

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

[dependencies.async-lock]
version = "3"

[dependencies.libc]
version = "0.2"
optional = true

[dependencies.mkdirp]
version = "1.0.0"

[dependencies.random-access-storage]
version = "=6.0.0-alpha"

[dependencies.tokio]
version = "1.27.0"
features = [
    "fs",
    "io-util",
]

[dev-dependencies.criterion]
version = "0.4"
features = ["async_tokio"]

[dev-dependencies.proptest]
version = "1.1.0"

[dev-dependencies.proptest-derive]
version = "0.8.0"

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

[dev-dependencies.tokio]
version = "1.27.0"
features = [
    "macros",
    "rt",
    "rt-multi-thread",
]

[dev-dependencies.tokio-test]
version = "0.4"

[target."cfg(windows)".dependencies.winapi]
version = "0.3.9"
features = [
    "ioapiset",
    "winioctl",
]