Hello everyone, I posted a message to the Sandstorm list about trying to set a Capability field on a Params struct using capnproto-rust: https://groups.google.com/g/sandstorm-dev/c/Mim3T5C7WUA/m/kuJcPmbZDQAJ
It seems that capnproto-rust does not support Capabilities. I would like to know how difficult it would be to add this support. I have sorted out how to generate the set_cap() method by modifying capnproto-rust/capnpc/src/codegen.rs:generate_setter. I have not sorted out what code should be generated and larger design questions. By design questions, I mean, for example, in capnproto-rust/capnpc/src/codegen_types.rs, does Capability fit as a member of pub enum Leaf? (I expected to see AnyPointer there.) I am inexperienced with both Rust and Cap'n Proto and eager to understand both better. Your patience is appreciated. Thanks, Troy -- You received this message because you are subscribed to the Google Groups "Cap'n Proto" group. To unsubscribe from this group and stop receiving emails from it, send an email to capnproto+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/capnproto/9e911157-9dc2-4817-8824-e1482dc35746n%40googlegroups.com.