Introduce backend feature flags in iced_renderer

This commit is contained in:
Héctor Ramón Jiménez 2023-03-06 22:10:13 +01:00
parent 06bbcc310e
commit 9b4bcd287a
No known key found for this signature in database
GPG key ID: 140CC052C94F138E
6 changed files with 147 additions and 93 deletions

View file

@ -1,3 +1,6 @@
#[cfg(not(any(feature = "wgpu", feature = "tiny-skia")))]
compile_error!("No backend selected. Enable at least one backend feature: `wgpu` or `tiny-skia`.");
pub mod compositor;
#[cfg(feature = "geometry")]