byteable 0.28.0

A Rust crate for convenient serialization and deserialization of byte-oriented data.
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 = "byteable"
version = "0.28.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A Rust crate for convenient serialization and deserialization of byte-oriented data."
readme = "README.md"
license = "MIT"
repository = "https://github.com/PaulDepping/byteable"

[features]
all = [
    "derive",
    "tokio",
    "std",
]
default = [
    "derive",
    "std",
]
derive = ["dep:byteable_derive"]
std = []
tokio = [
    "dep:tokio",
    "std",
]

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

[[example]]
name = "cursor_usage"
path = "examples/cursor_usage.rs"
required-features = [
    "std",
    "derive",
]

[[example]]
name = "enum_endianness"
path = "examples/enum_endianness.rs"
required-features = ["derive"]

[[example]]
name = "file_io"
path = "examples/file_io.rs"
required-features = [
    "std",
    "derive",
]

[[example]]
name = "simple_usage"
path = "examples/simple_usage.rs"
required-features = ["derive"]

[[example]]
name = "try_io"
path = "examples/try_io.rs"
required-features = [
    "std",
    "derive",
]

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

[dependencies.byteable_derive]
version = "0.17.0"
optional = true

[dependencies.tokio]
version = "1"
features = ["io-util"]
optional = true

[dev-dependencies.criterion]
version = "0.8"
features = ["html_reports"]

[dev-dependencies.thiserror]
version = "2.0.18"

[dev-dependencies.tokio]
version = "1"
features = ["full"]