trustfall_stubgen 0.1.0

Generate a Trustfall adapter stub for a given schema.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
//! # trustfall_stubgen
//!
//! Given a Trustfall schema, autogenerate a Rust adapter stub fully wired up with
//! all types, properties, and edges referenced in the schema.

#![forbid(unsafe_code)]

mod adapter_creator;
mod edges_creator;
mod entrypoints_creator;
mod properties_creator;
mod root;
mod util;

#[cfg(test)]
mod tests;

pub use root::generate_rust_stub;