uzor 1.0.3

Facade crate — re-exports uzor-render, uzor-core, and feature-gated backends
Documentation

uzor — feature-gated facade over the uzor rendering ecosystem.

This crate always re-exports the core rendering traits and utilities. Each rendering backend is compiled only when the corresponding feature flag is enabled, so downstream crates pull in exactly the backends they need.

Features

Feature Backend crate Context type
vello-gpu (default) uzor-backend-vello-gpu [VelloGpuRenderContext]
vello-cpu uzor-backend-vello-cpu [VelloCpuRenderContext]
vello-hybrid uzor-backend-vello-hybrid [VelloHybridRenderContext]
tiny-skia uzor-backend-tiny-skia [TinySkiaCpuRenderContext]
canvas2d uzor-backend-canvas2d [Canvas2dRenderContext]

Convenience groups

  • all-cpuvello-cpu + tiny-skia
  • all-gpuvello-gpu + vello-hybrid
  • all-wasmcanvas2d

Example

# Cargo.toml — only the GPU backend
[dependencies]
uzor = { path = "...", features = ["vello-gpu"] }

# CPU-only (e.g. for headless rendering / tests)
uzor = { path = "...", features = ["vello-cpu"], default-features = false }