hadris-block 2.0.0

Rust block-storage facade for devices, sectors, partitions, and FAT filesystems
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"
rust-version = "1.88.0"
name = "hadris-block"
version = "2.0.0"
authors = ["hxyulin"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Rust block-storage facade for devices, sectors, partitions, and FAT filesystems"
readme = "README.md"
keywords = [
    "block-device",
    "storage",
    "partition",
    "filesystem",
    "no-std",
]
categories = [
    "no-std",
    "filesystem",
]
license = "MIT"
repository = "https://github.com/hxyulin/hadris"

[package.metadata.docs.rs]
all-features = true
rustdoc-args = [
    "--cfg",
    "docsrs",
]

[features]
alloc = [
    "hadris-io?/alloc",
    "hadris-storage?/alloc",
    "hadris-fat?/alloc",
    "hadris-part?/alloc",
]
async = [
    "hadris-io?/async",
    "hadris-storage?/async",
    "hadris-fat?/async",
    "hadris-part?/async",
]
default = [
    "std",
    "sync",
    "read",
    "write",
    "detect",
    "storage",
    "fat",
    "part",
]
detect = [
    "read",
    "dep:hadris-io",
]
fat = [
    "dep:hadris-fat",
    "hadris-fat/lfn",
]
part = ["dep:hadris-part"]
read = [
    "hadris-fat?/read",
    "hadris-part?/read",
]
std = [
    "alloc",
    "hadris-io?/std",
    "hadris-storage?/std",
    "hadris-fat?/std",
    "hadris-part?/std",
]
storage = ["dep:hadris-storage"]
sync = [
    "hadris-io?/sync",
    "hadris-storage?/sync",
    "hadris-fat?/sync",
    "hadris-part?/sync",
]
write = [
    "alloc",
    "read",
    "hadris-fat?/write",
    "hadris-part?/write",
]

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

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

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

[dependencies.hadris-fat]
version = "2.0.0"
optional = true
default-features = false

[dependencies.hadris-io]
version = "2.0.0"
optional = true
default-features = false

[dependencies.hadris-part]
version = "2.0.0"
optional = true
default-features = false

[dependencies.hadris-storage]
version = "2.0.0"
optional = true
default-features = false

[dev-dependencies.bytemuck]
version = "1.22.0"
default-features = false