Expand description
brine-kiwi-compiler
This crate implements:
- A tokenizer + parser for
.kiwi
IDL files, - A schema verifier (duplicate types, recursive structs, missing types, etc.),
encode_binary_schema
/decode_binary_schema
(flat‐buffer style),- Code generation (
compile_schema_to_rust
→String
), - Error types (
KiwiError
), andFromKiwi
trait.
Re-exports§
pub use compiler::compile_schema;
pub use compiler::decode_binary_schema;
pub use compiler::encode_binary_schema;
pub use gen_rust::compile_schema_to_rust;