hadris-optical 2.1.0

Hadris facade for optical filesystems and disc images
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-optical"
version = "2.1.0"
authors = ["hxyulin"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Hadris facade for optical filesystems and disc images"
readme = "README.md"
keywords = [
    "iso9660",
    "udf",
    "optical",
    "cd",
    "dvd",
]
categories = [
    "filesystem",
    "encoding",
]
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-iso?/alloc",
    "hadris-udf?/alloc",
]
async = [
    "hadris-io?/async",
    "hadris-iso?/async",
    "hadris-udf?/async",
]
cd = [
    "dep:hadris-cd",
    "hadris-cd/sync",
]
default = [
    "std",
    "sync",
    "read",
    "write",
    "open",
    "cd",
]
detect = [
    "read",
    "dep:hadris-io",
]
iso = ["dep:hadris-iso"]
open = [
    "detect",
    "alloc",
    "iso",
    "udf",
]
read = [
    "hadris-iso?/read",
    "hadris-udf?/read",
]
std = [
    "alloc",
    "hadris-io?/std",
    "hadris-iso?/std",
    "hadris-udf?/std",
    "hadris-cd?/std",
]
sync = [
    "hadris-io?/sync",
    "hadris-iso?/sync",
    "hadris-udf?/sync",
]
udf = ["dep:hadris-udf"]
write = [
    "alloc",
    "read",
    "hadris-iso?/write",
    "hadris-udf?/write",
]

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

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

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

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

[dependencies.hadris-cd]
version = "2.1.0"
optional = true
default-features = false

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

[dependencies.hadris-iso]
version = "2.1.0"
optional = true
default-features = false

[dependencies.hadris-udf]
version = "2.1.0"
optional = true
default-features = false