img-gen 0.2.2

A convenience library that re-exports public API from img-gen-spec and img-gen-renderer
Documentation
//! High-level image generation API and public re-exports.
//!
//! This crate provides the main facade for building layouts, rendering images, and accessing
//! the shared specification and renderer types from one entry point.
#![deny(
    clippy::unwrap_used,
    clippy::expect_used,
    clippy::panic,
    clippy::unimplemented,
    clippy::todo,
    missing_docs
)]

pub use img_gen_renderer::{Generator, Image, ImgGenRendererError, Result};
pub use img_gen_spec::{
    Arc, Background, Border, ColorGradient, ColorKind, ConicalGradient, Corners, Debug, Ellipse,
    Font, HEIGHT, Icon, IrregularPolygonSides, Layer, LayerOffset, Layout, Line, LineHeight,
    LinearGradient, Mask, Polygon, PolygonSides, PreserveAspect, Presets, RadialGradient,
    Rectangle, RegularPolygonSides, Size, SolidColor, Spread, TRANSPARENT, Typography,
    TypographyAlign, WIDTH, Weight,
};

#[cfg(feature = "pyo3")]
mod python_binding;