structio 0.8.0

High performance JSON and BEVE for Rust structs. No dependencies, no proc-macros, no intermediate representation.
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 = "2024"
rust-version = "1.96"
name = "structio"
version = "0.8.0"
build = false
exclude = [
    ".github/",
    "rust-toolchain.toml",
    "structio-derive/",
]
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/matrix-research-inc/structio"

[package.metadata.docs.rs]
all-features = true

[features]
derive = ["dep:structio-derive"]

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

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

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

[[example]]
name = "derive"
path = "examples/derive.rs"
required-features = ["derive"]

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

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

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

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

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

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

[[test]]
name = "alias"
path = "tests/alias.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 = "default_bound"
path = "tests/default_bound.rs"

[[test]]
name = "derive"
path = "tests/derive.rs"
required-features = ["derive"]

[[test]]
name = "directions"
path = "tests/directions.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 = "ordered"
path = "tests/ordered.rs"

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

[dependencies.structio-derive]
version = "=0.8.0"
optional = true

[dev-dependencies.nocompile]
version = "0.8"

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

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