[package]
name = "structio"
version = "0.8.0"
edition = "2024"
rust-version = "1.96"
license = "MIT OR Apache-2.0"
description = "High performance JSON and BEVE for Rust structs. No dependencies, no proc-macros, no intermediate representation."
repository = "https://github.com/matrix-research-inc/structio"
keywords = ["json", "beve", "serialization", "binary", "performance"]
categories = ["encoding", "parser-implementations"]
exclude = [".github/", "rust-toolchain.toml", "structio-derive/"]
[workspace]
members = ["structio-derive"]
[features]
derive = ["dep:structio-derive"]
[dependencies]
structio-derive = { version = "=0.8.0", path = "structio-derive", optional = true }
[package.metadata.docs.rs]
all-features = true
[profile.release]
opt-level = 3
lto = "fat"
codegen-units = 1
panic = "abort"
[profile.bench]
opt-level = 3
lto = "fat"
codegen-units = 1
[[bench]]
name = "roundtrip"
harness = false
[[test]]
name = "derive"
required-features = ["derive"]
[dev-dependencies]
nocompile = "0.8"
[[example]]
name = "derive"
required-features = ["derive"]