[package]
edition = "2021"
rust-version = "1.81.0"
name = "capnp"
version = "0.25.1"
authors = ["David Renshaw <dwrenshaw@gmail.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "runtime library for Cap'n Proto data encoding"
documentation = "https://docs.rs/capnp/"
readme = "README.md"
keywords = [
"encoding",
"protocol",
"serialization",
]
license = "MIT"
repository = "https://github.com/capnproto/capnproto-rust"
[features]
alloc = ["embedded-io?/alloc"]
default = [
"std",
"alloc",
]
rpc_try = []
std = ["embedded-io?/std"]
sync_reader = []
unaligned = []
[lib]
name = "capnp"
path = "src/lib.rs"
[[test]]
name = "canonicalize"
path = "tests/canonicalize.rs"
[[test]]
name = "init_text_overflow"
path = "tests/init_text_overflow.rs"
[[test]]
name = "message_size_in_words"
path = "tests/message_size_in_words.rs"
[[test]]
name = "primitive_list_as_slice"
path = "tests/primitive_list_as_slice.rs"
[[test]]
name = "primitive_list_as_slice_unaligned"
path = "tests/primitive_list_as_slice_unaligned.rs"
[[test]]
name = "scratch_space_heap_allocator"
path = "tests/scratch_space_heap_allocator.rs"
[[test]]
name = "serialize_read_message_no_alloc"
path = "tests/serialize_read_message_no_alloc.rs"
[[test]]
name = "single_segment_allocator"
path = "tests/single_segment_allocator.rs"
[[test]]
name = "text_comparisons"
path = "tests/text_comparisons.rs"
[[test]]
name = "total_size"
path = "tests/total_size.rs"
[dependencies.embedded-io]
version = "0.7.1"
optional = true
default-features = false
[dependencies.quickcheck]
version = "1"
optional = true
[dev-dependencies.quickcheck]
version = "=1.0"
[lints.clippy]
missing_safety_doc = "allow"
type_complexity = "allow"