David Renshaw
David Renshaw
> where I make a builder re-usable. What kind of builder? A `message::Builder`? Can you explain more about your plan? Does the existing `message::ScratchSpaceHeapAllocator` work for your use case?
Does #412 help?
I'm assuming the c++.capnp schema file is this one from the main capnproto repo: https://github.com/capnproto/capnproto/blob/v2/c%2B%2B/src/capnp/c%2B%2B.capnp Is there a reason that you need to generate Rust code for it at all?...
Ah, and unfortunately [Rust raw identifiers](https://doc.rust-lang.org/rust-by-example/compatibility/raw_identifiers.html) don't support the '+' character either. Some options: 1. We could allow the `Rust.name` annotation to change the name of files: https://github.com/capnproto/capnproto-rust/blob/b85e041a1852cd4b3a7d7860ef4fbe16369c73e9/capnpc/rust.capnp#L9 Then you...
One thing we could do is make the `$Rust.name` annotation work on annotations: https://github.com/capnproto/capnproto-rust/blob/977b3db3f97c142a0d6dff50302aa42908858fc9/capnpc/rust.capnp#L9
Yes, you should be able to compile your .capnp schemas with capnpc-java and then use the capnproto-java runtime library. The Addressbook example shows one way to set up a pom.xml...
Using the standard `Into` and `TryFrom` traits makes sense to me. Probably `ToU16` and `FromU16` were created before the standard traits existed. Note, though, that replacing them would be a...
> incidentally, if i were to change the code generation for files like capnpc/src/schema_capnp.rs, how would I regenerate those files? 1. Get the the corresponding `.capnp` files from the main...
We could add a "version bump" label for issues and PRs.
> I'm curious if this package has yet adopted the v2 branch of capnproto upstream. The capnproto-c++ v2 branch may have breaking changes in its C++ API, but it does...