diff options
author | Katharina Fey <kookie@spacekookie.de> | 2020-08-20 21:41:45 +0200 |
---|---|---|
committer | Katharina Fey <kookie@spacekookie.de> | 2020-08-20 21:41:45 +0200 |
commit | b4b9515fd969cb6445c8a93b7eb1ec8ebe529949 (patch) | |
tree | cacb2255f9dfba2f72738ffeab28e820f0422090 /rif/src/lib.rs | |
parent | f76b3008a69e376fac06a1c383936531748e654a (diff) |
rif: adding Recipes and Metadata
Diffstat (limited to 'rif/src/lib.rs')
-rw-r--r-- | rif/src/lib.rs | 11 |
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; |