[package]
edition = "2021"
rust-version = "1.70"
name = "binrw"
version = "0.15.1"
authors = [
"jam1garner <jam@jam1.re>",
"Colin Snover <github.com@zetafleet.com>",
"Kitlith <kitlith@kitl.pw>",
"roblabla <robinlambertz+dev@gmail.com>",
]
build = "build.rs"
publish = true
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A Rust crate for helping read structs from binary data using ✨macro magic✨"
homepage = "https://binrw.rs"
documentation = "https://docs.rs/binrw"
readme = "README.md"
keywords = [
"binary",
"encode",
"decode",
"serialize",
"deserialize",
]
categories = [
"encoding",
"parsing",
]
license = "MIT"
repository = "https://github.com/jam1garner/binrw"
[features]
default = [
"std",
"verbose-backtrace",
]
std = []
verbose-backtrace = ["binrw_derive/verbose-backtrace"]
[lib]
name = "binrw"
path = "src/lib.rs"
[[test]]
name = "binread_impls"
path = "tests/binread_impls.rs"
[[test]]
name = "binwrite_impls"
path = "tests/binwrite_impls.rs"
[[test]]
name = "dbg"
path = "tests/dbg.rs"
[[test]]
name = "endian"
path = "tests/endian.rs"
[[test]]
name = "error"
path = "tests/error.rs"
[[test]]
name = "infer_map"
path = "tests/infer_map.rs"
[[test]]
name = "lib"
path = "tests/lib.rs"
[[test]]
name = "meta"
path = "tests/meta.rs"
[[test]]
name = "named_args"
path = "tests/named_args.rs"
[[test]]
name = "pos_value"
path = "tests/pos_value.rs"
[[test]]
name = "punctuated"
path = "tests/punctuated.rs"
[[test]]
name = "stream_ext"
path = "tests/stream_ext.rs"
[[test]]
name = "strings"
path = "tests/strings.rs"
[[test]]
name = "ui"
path = "tests/ui.rs"
[[bench]]
name = "fast_vec"
path = "benches/fast_vec.rs"
[dependencies.array-init]
version = "2.0.0"
[dependencies.binrw_derive]
version = "0.15.1"
[dependencies.bytemuck]
version = "1.0.0"
[dev-dependencies.modular-bitfield]
version = "0.12.0"
[dev-dependencies.trybuild]
version = "1.0.89"