Crate brine_kiwi_compiler

Crate brine_kiwi_compiler 

Source
Expand description

brine-kiwi-compiler

This crate implements:

  1. A tokenizer + parser for .kiwi IDL files,
  2. A schema verifier (duplicate types, recursive structs, missing types, etc.),
  3. encode_binary_schema / decode_binary_schema (flat‐buffer style),
  4. Code generation (compile_schema_to_rustString),
  5. Error types (KiwiError), and FromKiwi 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;

Modules§

compiler
error
gen_rust
parser
tokenizer
traits
types
utils
verifier