Skip to main content

img_gen_renderer/
lib.rs

1//! Rendering primitives and runtime errors for image generation.
2//!
3//! This crate turns validated image-generation specifications into images.
4#![deny(
5    clippy::unwrap_used,
6    clippy::expect_used,
7    clippy::panic,
8    clippy::unimplemented,
9    clippy::todo,
10    missing_docs
11)]
12
13pub use img_gen_spec::*;
14
15/// Error types produced while rendering images or loading renderer resources.
16pub mod error;
17pub use error::{ImgGenRendererError, Result};
18
19mod generator;
20pub use generator::{Generator, Image};
21
22#[cfg(feature = "pyo3")]
23mod python_binding;