byteable 0.31.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.31.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",
    "ordered-float",
]
default = [
    "derive",
    "std",
]
derive = ["dep:byteable_derive"]
ordered-float = ["dep:ordered-float"]
std = []
tokio = [
    "dep:tokio",
    "std",
]

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

[dependencies.ordered-float]
version = "4"
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"]