docs.rs failed to build maple-render-core-0.1.2
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
maple-render-core
Core rendering engine extracted from maple.
This crate contains:
- Template repository loading (
Repository) - Frame compositing and mapping (
Render,Renders) - GIF/video helpers (
GifAnim,VidAnim) - Quantization pipeline
- Input handling for images and text
It intentionally does not bundle templates or font assets.
For text rendering, callers must pass font bytes into Input::from_text.
Minimal usage
use ;
use RenderQuality;
Load templates from bytes (embedded at build time)
You can bundle your template ZIP into your binary and load it without touching the filesystem at runtime.
build.rs:
use ;
src/main.rs:
use Repository;
const TEMPLATE_ZIP: & = include_bytes!;