canvas/
lib.rs

1/* This Source Code Form is subject to the terms of the Mozilla Public
2 * License, v. 2.0. If a copy of the MPL was not distributed with this
3 * file, You can obtain one at https://mozilla.org/MPL/2.0/. */
4
5#![deny(unsafe_code)]
6#![allow(clippy::too_many_arguments)]
7
8mod backend;
9
10#[cfg(any(feature = "vello", feature = "vello_cpu"))]
11mod peniko_conversions;
12
13#[cfg(feature = "vello")]
14mod vello_backend;
15
16#[cfg(feature = "vello_cpu")]
17mod vello_cpu_backend;
18
19pub mod canvas_data;
20pub mod canvas_paint_thread;