Expand description
High-level safe Rust API for skia-rs.
This crate provides a convenient, idiomatic Rust API that wraps the lower-level crates with ergonomic types and methods.
§Features
std(default) - Enable standard library supportserde- Enable serialization supportcodec- Enable image codec support (PNG, JPEG, etc.)codec-all- Enable all image codecssvg- Enable SVG supportpdf- Enable PDF generationtext- Enable text renderingskottie- Enable Lottie animation supportgpu- Enable GPU renderingwgpu-backend- Enable WGPU backendvulkan- Enable Vulkan backendopengl- Enable OpenGL backendmetal- Enable Metal backend (macOS/iOS only)full- Enable all features
Re-exports§
pub use skia_rs_canvas as canvas;pub use skia_rs_core as core;pub use skia_rs_paint as paint;pub use skia_rs_path as path;pub use skia_rs_text as text;textpub use skia_rs_codec as codec;codecpub use skia_rs_svg as svg;svgpub use skia_rs_pdf as pdf;pdfpub use skia_rs_skottie as skottie;skottiepub use skia_rs_gpu as gpu;gpu
Modules§
- prelude
- Convenience prelude for common types.