wire-codec 0.9.0

Binary frame codec and protocol codec toolkit. Length-prefixed, delimiter-based, and custom framing strategies. Built-in varint, zigzag, bitfield, and packed struct encoding. Runtime-agnostic foundation under network-protocol crates.
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 = "2021"
rust-version = "1.75"
name = "wire-codec"
version = "0.9.0"
authors = ["James Gober <me@jamesgober.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Binary frame codec and protocol codec toolkit. Length-prefixed, delimiter-based, and custom framing strategies. Built-in varint, zigzag, bitfield, and packed struct encoding. Runtime-agnostic foundation under network-protocol crates."
homepage = "https://github.com/jamesgober/wire-codec"
documentation = "https://docs.rs/wire-codec"
readme = "README.md"
keywords = [
    "codec",
    "framing",
    "varint",
    "wire",
    "rust",
]
categories = [
    "encoding",
    "network-programming",
]
license = "Apache-2.0 OR MIT"
repository = "https://github.com/jamesgober/wire-codec"

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

[features]
default = ["std"]
std = []

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

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

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

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

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

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

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

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

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

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

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

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

[dependencies]

[dev-dependencies.proptest]
version = ">=1, <1.6"
features = ["std"]
default-features = false

[profile.bench]
opt-level = 3
lto = "fat"
codegen-units = 1
debug = 2

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