pack-io 0.3.0

Compact binary wire format with schema evolution and zero-copy deserialization for Rust. The serialization substrate under network-protocol and Hive DB.
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.85"
name = "pack-io"
version = "0.3.0"
authors = ["James Gober <me@jamesgober.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Compact binary wire format with schema evolution and zero-copy deserialization for Rust. The serialization substrate under network-protocol and Hive DB."
homepage = "https://github.com/jamesgober/pack-io"
documentation = "https://docs.rs/pack-io"
readme = "README.md"
keywords = [
    "serialization",
    "codec",
    "binary",
    "schema-evolution",
    "zero-copy",
]
categories = [
    "encoding",
    "data-structures",
    "no-std",
]
license = "Apache-2.0 OR MIT"
repository = "https://github.com/jamesgober/pack-io"

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

[features]
default = ["std"]
derive = []
schema = []
serde = ["dep:serde"]
std = []

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

[[example]]
name = "basic_roundtrip"
path = "examples/basic_roundtrip.rs"

[[example]]
name = "collections_tour"
path = "examples/collections_tour.rs"

[[example]]
name = "primitive_tour"
path = "examples/primitive_tour.rs"

[[example]]
name = "reuse_buffer"
path = "examples/reuse_buffer.rs"

[[example]]
name = "streaming_io"
path = "examples/streaming_io.rs"

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

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

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

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

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

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

[dependencies.serde]
version = "1"
optional = true
default-features = false

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

[dev-dependencies.proptest]
version = "1"

[target."cfg(loom)".dev-dependencies.loom]
version = "0.7"

[profile.release]
opt-level = 3
lto = "fat"
codegen-units = 1
panic = "abort"
strip = "symbols"