[package]
edition = "2024"
rust-version = "1.96"
name = "structio"
version = "0.3.2"
build = false
exclude = [
".github/",
"rust-toolchain.toml",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "High performance JSON and BEVE for Rust structs. No dependencies, no proc-macros, no intermediate representation."
readme = "README.md"
keywords = [
"json",
"beve",
"serialization",
"binary",
"performance",
]
categories = [
"encoding",
"parser-implementations",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/stephenberry/structio"
[lib]
name = "structio"
path = "src/lib.rs"
[[example]]
name = "adapters"
path = "examples/adapters.rs"
[[example]]
name = "beve"
path = "examples/beve.rs"
[[example]]
name = "manual_impls"
path = "examples/manual_impls.rs"
[[example]]
name = "quickstart"
path = "examples/quickstart.rs"
[[example]]
name = "streaming"
path = "examples/streaming.rs"
[[test]]
name = "adapters"
path = "tests/adapters.rs"
[[test]]
name = "aligned"
path = "tests/aligned.rs"
[[test]]
name = "array"
path = "tests/array.rs"
[[test]]
name = "atof"
path = "tests/atof.rs"
[[test]]
name = "basic"
path = "tests/basic.rs"
[[test]]
name = "beve"
path = "tests/beve.rs"
[[test]]
name = "beve_array"
path = "tests/beve_array.rs"
[[test]]
name = "beve_stream"
path = "tests/beve_stream.rs"
[[test]]
name = "blocks"
path = "tests/blocks.rs"
[[test]]
name = "blocks_big_endian"
path = "tests/blocks_big_endian.rs"
[[test]]
name = "borrow"
path = "tests/borrow.rs"
[[test]]
name = "borrow_big_endian"
path = "tests/borrow_big_endian.rs"
[[test]]
name = "case"
path = "tests/case.rs"
[[test]]
name = "completeness"
path = "tests/completeness.rs"
[[test]]
name = "docs"
path = "tests/docs.rs"
[[test]]
name = "enums"
path = "tests/enums.rs"
[[test]]
name = "error_key"
path = "tests/error_key.rs"
[[test]]
name = "ext"
path = "tests/ext.rs"
[[test]]
name = "fuzz"
path = "tests/fuzz.rs"
[[test]]
name = "internally_tagged"
path = "tests/internally_tagged.rs"
[[test]]
name = "keymap"
path = "tests/keymap.rs"
[[test]]
name = "memory"
path = "tests/memory.rs"
[[test]]
name = "minify"
path = "tests/minify.rs"
[[test]]
name = "numbers"
path = "tests/numbers.rs"
[[test]]
name = "options"
path = "tests/options.rs"
[[test]]
name = "pointer"
path = "tests/pointer.rs"
[[test]]
name = "prettify"
path = "tests/prettify.rs"
[[test]]
name = "required"
path = "tests/required.rs"
[[test]]
name = "size"
path = "tests/size.rs"
[[test]]
name = "stream"
path = "tests/stream.rs"
[[test]]
name = "transcode"
path = "tests/transcode.rs"
[[test]]
name = "unwind"
path = "tests/unwind.rs"
[[test]]
name = "validate"
path = "tests/validate.rs"
[[bench]]
name = "roundtrip"
path = "benches/roundtrip.rs"
harness = false
[dependencies]
[profile.bench]
opt-level = 3
lto = "fat"
codegen-units = 1
[profile.release]
opt-level = 3
lto = "fat"
codegen-units = 1
panic = "abort"