[package]
edition = "2024"
name = "ab-io-type"
version = "0.1.0"
authors = ["Nazar Mokrynskyi <nazar@mokrynskyi.com>"]
build = false
include = [
"/src",
"/Cargo.toml",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Infrastructure for zero-cost zero-copy serialization/deserialization"
readme = false
keywords = [
"serialization",
"zero-cost",
"zero-copy",
"metadata",
"no-std",
]
license = "0BSD"
repository = "https://github.com/nazar-pc/abundance"
[package.metadata.docs.rs]
all-features = true
[features]
scale-codec = ["dep:parity-scale-codec"]
serde = ["dep:serde"]
[lib]
name = "ab_io_type"
path = "src/lib.rs"
[dependencies.ab-io-type-derive]
version = "0.1.0"
[dependencies.parity-scale-codec]
version = "3.7.5"
features = [
"bytes",
"derive",
"max-encoded-len",
]
optional = true
default-features = false
[dependencies.serde]
version = "1.0.228"
features = ["derive"]
optional = true
default-features = false
[lints.clippy]
allow_attributes = "warn"
as_pointer_underscore = "warn"
as_ptr_cast_mut = "deny"
assigning_clones = "warn"
cast_possible_wrap = "warn"
cast_sign_loss = "warn"
ptr_as_ptr = "warn"
undocumented_unsafe_blocks = "warn"
[lints.rust]
missing_debug_implementations = "warn"
rust_2018_idioms = "warn"
[lints.rust.unexpected_cfgs]
level = "allow"
priority = 1
check-cfg = ['cfg(target_arch, values("spirv"))']
[lints.rust.unreachable_pub]
level = "warn"
priority = 0