[package]
edition = "2021"
rust-version = "1.75"
name = "wire-codec"
version = "0.2.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"
[[test]]
name = "smoke"
path = "tests/smoke.rs"
[dependencies]
[dev-dependencies]
[profile.bench]
opt-level = 3
lto = "fat"
codegen-units = 1
debug = 2
[profile.release]
opt-level = 3
lto = "fat"
codegen-units = 1
strip = "symbols"