[package]
name        = "quicproquo-proto"
version     = "0.1.0"
edition     = "2021"
description = "Cap'n Proto schemas, generated types, and serialisation helpers for quicproquo. No crypto, no I/O."
license     = "MIT"

# build.rs invokes capnpc to generate Rust source from .capnp schemas.
build       = "build.rs"

[dependencies]
capnp       = { workspace = true }

[lints.rust]
unsafe_code = "warn"

[lints.clippy]
# Generated Cap'n Proto code uses patterns that trigger clippy lints.
unwrap_used = "allow"

[build-dependencies]
capnpc      = { workspace = true }
