zerodds-corba-rust
IDL → Rust code generator for CORBA service constructs (interface traits + stubs + skeletons, valuetypes; in phase 2: components, homes, POA bindings).
Analogous to zerodds-idl-cpp / -csharp / -java — but emits Rust instead of C++/C#/Java. Consumes zerodds-corba-codegen helpers and zerodds-idl-rust::type_map.
Layer position
Layer 8 (CORBA stack). Build-time tool, std-only.
What is emitted
| IDL | Rust |
|---|---|
interface I { op(...); }; |
pub trait I + pub struct IStub + dispatch_i |
attribute T x |
trait getter + setter (if writable) |
oneway op(...) |
trait method without reply |
valuetype V { ... }; |
pub trait V: ValueBase |
module M { … } |
pub mod M { … } |
Quickstart
use ParserConfig;
use IdlFeatures;
use ;
let cfg = ParserConfig ;
let ast = parse.expect;
let rust_src = generate_corba_rust_module.expect;
License
Apache-2.0.