capnproto-rust
capnproto-rust copied to clipboard
Cap'n Proto for Rust
This is an implementation of https://github.com/capnproto/capnproto/pull/1807 for allowing `List(T)` in schemas. Essentially, it is treated as an AnyList parameter on the wire, but the type information is preserved in the...
The code generation is very bespoke, and I think there's significant scope for simplifying this, but it would be quite a lot of work, so I wanted to gauge the...
See https://github.com/capnproto/capnproto/commit/bd6d75ba2515061dfa57ed1badbdf7321bf1fd5f. Presently capnproto-rust uses the fallback and does not natively support streaming. Native support would improve performance.
We have a client written in Go that is sending a struct and a signature to a server that uses `capnproto-rust`: ``` interface Publication { push @0 (tx :Tx, signature...
Thanks for the nice library! I have a bunch of co-operating, separately deployed rust services, that communicate using capnproto. Servers advertise the schema they are using to publish data. When...
That is I want to be able to do ```rust our_feature .init_at() .set_parent(other_parent) .set_idx(other_at) ``` I think this is possibly arguably only a [minor breaking change](https://rust-lang.github.io/rfcs/1105-api-evolution.html) because most users aren't...
In the capnp docs they mention a pattern where an annotation and the struct for its value share the same name. ```capnp struct Grault { value @0 :Int32 = 123;...
Now that dynamic reflection landed in capnp-rust (big thanks to David), we can easily `Debug`-print any `capnp` struct. However, these structs may contain `AnyPointer`, which currently doesn't print its own...
Since pure C version of the capnproto [is dead](https://github.com/opensourcerouting/c-capnproto/issues/55#issuecomment-1516052514), it would be nice also to have an option to use the Rust implementation as the C library.