Skip to main content

thruput_spec/
lib.rs

1#![no_std]
2
3// Brings types from %#include'd .x files (event.hh) into scope for the
4// generated module, which imports them via `use crate::*`.
5use thruput_xdr::event::Topic;
6
7#[rustfmt::skip]
8pub mod contract_spec;
9pub use contract_spec::*;
10
11// Hand-written impls on the generated types. `generate.sh` rewrites only
12// `contract_spec.rs`, so these survive regeneration.
13mod impls;