[package]
edition = "2021"
name = "zeropod"
version = "0.3.3"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Zero-copy pod types with derive macros. Alignment-1 representations for zero-overhead data access."
readme = false
license = "Apache-2.0"
repository = "https://github.com/blueshift-gg/zeropod"
[features]
default = []
kani = []
solana-address = ["dep:solana-address"]
solana-program-error = ["dep:solana-program-error"]
wincode = ["dep:wincode"]
[lib]
name = "zeropod"
path = "src/lib.rs"
[[test]]
name = "api_ergonomics"
path = "tests/api_ergonomics.rs"
[[test]]
name = "compact_backend"
path = "tests/compact_backend.rs"
[[test]]
name = "compact_commit_shift"
path = "tests/compact_commit_shift.rs"
[[test]]
name = "fixed_backend"
path = "tests/fixed_backend.rs"
[[test]]
name = "fixed_enum"
path = "tests/fixed_enum.rs"
[[test]]
name = "fixed_nested"
path = "tests/fixed_nested.rs"
[[test]]
name = "generic_fixed"
path = "tests/generic_fixed.rs"
[[test]]
name = "instruction_abi_parity"
path = "tests/instruction_abi_parity.rs"
[[test]]
name = "layout_golden"
path = "tests/layout_golden.rs"
[[test]]
name = "pod_richness"
path = "tests/pod_richness.rs"
[[test]]
name = "pod_types"
path = "tests/pod_types.rs"
[[test]]
name = "roundtrip"
path = "tests/roundtrip.rs"
[[test]]
name = "type_tightening"
path = "tests/type_tightening.rs"
[[test]]
name = "validation"
path = "tests/validation.rs"
[dependencies.solana-address]
version = ">=2.2, <2.6"
features = ["copy"]
optional = true
[dependencies.solana-program-error]
version = ">=1.0, <4.0"
optional = true
[dependencies.wincode]
version = "0.4.9"
features = ["derive"]
optional = true
[dependencies.zeropod-derive]
version = "=0.3.3"
[lints.rust.unexpected_cfgs]
level = "warn"
priority = 0
check-cfg = ["cfg(kani)"]