hadris-part 2.1.0

Partition table support for MBR, GPT, and Hybrid MBR
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-part"
version = "2.1.0"
authors = ["hxyulin"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Partition table support for MBR, GPT, and Hybrid MBR"
readme = "README.md"
keywords = [
    "partition",
    "mbr",
    "gpt",
    "disk",
    "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"]
async = ["hadris-io/async"]
crc = ["dep:crc"]
default = [
    "std",
    "sync",
    "read",
]
rand = ["dep:rand"]
read = []
std = [
    "alloc",
    "hadris-io/std",
]
sync = ["hadris-io/sync"]
write = [
    "alloc",
    "read",
]

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

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

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

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

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

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

[dependencies.bytemuck]
version = "1.22.0"
features = [
    "derive",
    "min_const_generics",
]
default-features = false

[dependencies.crc]
version = "3"
optional = true
default-features = false

[dependencies.endian-num]
version = "0.2"
features = ["bytemuck"]
default-features = false

[dependencies.hadris-io]
version = "2.1.0"
default-features = false

[dependencies.hadris-macros]
version = "2.1.0"

[dependencies.rand]
version = "0.10"
features = ["thread_rng"]
optional = true
default-features = false