[dependencies.anyhow]
optional = true
version = "1"
[dependencies.byten_derive]
optional = true
version = "0.0"
[dependencies.heapless]
version = "0.9.1"
[dependencies.thiserror]
default-features = false
version = "2"
[[example]]
name = "archive"
path = "examples/archive.rs"
[[example]]
name = "array"
path = "examples/array.rs"
[[example]]
name = "borrowed"
path = "examples/borrowed.rs"
[[example]]
name = "icmp"
path = "examples/icmp.rs"
[[example]]
name = "inline"
path = "examples/inline.rs"
[[example]]
name = "nostd"
path = "examples/nostd.rs"
[features]
alloc = []
anyhow = ["dep:anyhow", "std"]
default = ["std", "anyhow", "derive"]
derive = ["dep:byten_derive"]
std = ["alloc", "thiserror/std"]
[lib]
name = "byten"
path = "src/lib.rs"
[lints.clippy]
new_without_default = "allow"
[package]
authors = ["Ali Akbay <maakbay@gmail.com>"]
autobenches = false
autobins = false
autoexamples = false
autolib = false
autotests = false
build = false
categories = ["encoding", "parsing"]
description = "A binary codec library for efficient encoding and decoding of data structures"
documentation = "https://docs.rs/byten"
edition = "2024"
homepage = "https://github.com/m-ali-akbay/byten"
keywords = ["binary", "codec", "serialization", "encoding", "decoding"]
license = "MIT OR Apache-2.0"
name = "byten"
readme = "README.md"
repository = "https://github.com/m-ali-akbay/byten"
version = "0.0.13"