shapeland_render/lib.rs
1// Copyright 2026 the Shapeland Authors
2// SPDX-License-Identifier: Apache-2.0 OR MIT
3
4//! Renderer abstraction: vello_hybrid (vendored, with the damage-rects PR)
5//! behind a narrow trait.
6//!
7//! Boundary rules (CLAUDE.md): this is the *only* crate that may depend on
8//! Vello/wgpu types; nothing renderer-specific may leak out. The trait
9//! contract is consume-hints, "backend leaves the target containing the
10//! result" — see `design/002-rendering-harness.md`. Forma must remain a
11//! plausible drop-in behind this boundary, unmodified.
12
13#![forbid(unsafe_code)]
14
15pub use shapeland_damage as damage;