Graphite/node-graph/libraries/canvas-utils/src/lib.rs

9 lines
300 B
Rust

//! A collection of utilities for working with HTML canvases.
//! This library is designed to be used in a WebAssembly context.
//! It doesn't expose any functionality when compiled for non-WebAssembly targets
#[cfg(target_family = "wasm")]
mod wasm;
#[cfg(target_family = "wasm")]
pub use wasm::*;