#rpc #capnweb

capnweb_types

Rust type definitions for the Cap'n Web RPC protocol

4 releases

Uses new Rust 2024

0.3.0 Oct 2, 2025
0.2.2 Sep 25, 2025
0.2.1 Sep 24, 2025
0.2.0 Sep 24, 2025

#68 in #rpc

Download history 141/week @ 2025-09-18 238/week @ 2025-09-25 124/week @ 2025-10-02 12/week @ 2025-10-09 8/week @ 2025-10-16 2/week @ 2025-10-23

146 downloads per month

MIT/Apache

38KB
662 lines

Rust type definitions for the Cap'n Web RPC protocol

This crate provies rust types for the low-level Cap'n Web protocol, which can be serialized and deserialized using Serde into the JSON format used by the protocol.

The top-level type is Message, which represents a single message in the protocol. The main type used within messages is Expression, which describes values and references


Cap'n Web Protocol Type Definitions

This crate provides type definitions for the Cap'n Web Protocol, which is an object-capability RPC protocol designed for use in web applications.

The types defined in this crate can be serialized and deserialized using serde. Cap'n Web messages are encoded as JSON, use the serde_json crate for serialization and deserialization matching the Cap'n Web specification.

This is not an official Cap'n Web project.

Dependencies

~245KB