aboutsummaryrefslogtreecommitdiff
path: root/rif/src/lib.rs
diff options
context:
space:
mode:
Diffstat (limited to 'rif/src/lib.rs')
-rw-r--r--rif/src/lib.rs11
1 files changed, 8 insertions, 3 deletions
diff --git a/rif/src/lib.rs b/rif/src/lib.rs
index 0e18044..047dc24 100644
--- a/rif/src/lib.rs
+++ b/rif/src/lib.rs
@@ -3,7 +3,7 @@
//! A structured format for expression recipes, and work steps with
//! variable actor counts. Ingredients and work steps are typed via
//! an internally provided schema. The backing file-format for
-//! serialisation is `g3f`.
+//! serialisation is [`g3f`](https://github.com/spacekookie/g3f).
//!
//! Each recipe is separated into threads, with a set of inputs, work
//! steps and an output. A thread is a set of work steps that can be
@@ -17,8 +17,13 @@
//! ```rust
//! let mut r = Recipe::new();
//! let mut t = r.add_thread().name("a");
-//!
+//!
//! ```
-
+mod recipe;
mod schema;
+mod thread;
+
+pub use recipe::{Metadata, Recipe};
+pub use schema::{Ingredient, Schema, Workstep};
+pub use thread::Thread;