1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
mod recipe;
pub use recipe::*;

mod recipe_set;
pub use recipe_set::*;

#[cfg(feature = "api")]
pub mod api;

use thiserror::Error;

#[derive(Debug, Error)]
pub enum Error {
    #[error("IO Error: {0}")]
    Io(#[from] std::io::Error),
    #[error("Serde Error: {0}")]
    Serde(#[from] serde_json::Error),
    #[error("ZIP Error: {0}")]
    Zip(#[from] zip::result::ZipError),
}