diff --git a/crates/anyrender_skia/Cargo.toml b/crates/anyrender_skia/Cargo.toml index 5f496df..827fc02 100644 --- a/crates/anyrender_skia/Cargo.toml +++ b/crates/anyrender_skia/Cargo.toml @@ -22,11 +22,13 @@ peniko = { workspace = true } raw-window-handle = { workspace = true } softbuffer_window_renderer = { workspace = true, optional = true } pixels_window_renderer = { workspace = true, optional = true } -skia-safe = { version = "0.153.3", features = ["gl", "pdf"]} +# Keep default features: rust-skia's prebuilt binaries all include PDF and JPEG. +skia-safe = { version = "0.153.3" } oaty = "0.2" hashbrown = "0.17.0" [target.'cfg(not(any(target_os = "macos", target_os = "ios")))'.dependencies] +skia-safe = { version = "0.153.3", features = ["gl"] } glutin = { version = "0.32.3", features = ["default", "wgl", "egl"] } gl = "0.14.0" ash = "^0.38.0" @@ -47,4 +49,4 @@ objc2 = { version = "0.6.3", default-features = false } objc2-core-foundation = { version = "0.3.2", default-features = false } objc2-metal = { version = "0.3.2", default-features = false, features = ["MTLCommandBuffer", "MTLCommandQueue", "MTLDrawable", "MTLPixelFormat"] } objc2-quartz-core = { version = "0.3.2", default-features = false, features = ["objc2-core-foundation", "objc2-metal", "CAMetalLayer"] } -skia-safe = { version = "0.153.3", features = ["metal"] } +skia-safe = { version = "0.153.3", features = ["ganesh", "metal"] }