Skip to content

Commit

Permalink
Update skia-safe
Browse files Browse the repository at this point in the history
This brings in Skia Milestone 123 and fixes the use of directwrite on Windows. For more details, see https://github.com/rust-skia/rust-skia/releases/tag/0.72.0
  • Loading branch information
tronical committed Mar 21, 2024
1 parent 881da94 commit e873a0d
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions internal/renderers/skia/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ pin-weak = "1"
scoped-tls-hkt = "0.1"
raw-window-handle = { version = "0.5", features = ["std"] }

skia-safe = { version = "0.71.0", features = ["textlayout", "gl"] }
skia-safe = { version = "0.72.0", features = ["textlayout", "gl"] }
glow = { version = "0.13" }
unicode-segmentation = { version = "1.8.0" }

Expand All @@ -58,7 +58,7 @@ bytemuck = { workspace = true }

[target.'cfg(target_family = "windows")'.dependencies]
windows = { version = "0.52.0", features = ["Win32", "Win32_System_Com", "Win32_Graphics", "Win32_Graphics_Dxgi", "Win32_Graphics_Direct3D12", "Win32_Graphics_Direct3D", "Win32_Foundation", "Win32_Graphics_Dxgi_Common", "Win32_System_Threading", "Win32_Security"] }
skia-safe = { version = "0.71.0", features = ["d3d"] }
skia-safe = { version = "0.72.0", features = ["d3d"] }

[target.'cfg(target_os = "macos")'.dependencies]
cocoa = { version = "0.25.0" }
Expand All @@ -68,10 +68,10 @@ metal = { version = "0.27.0" }
foreign-types = { version = "0.5.0" }
objc = { version = "0.2.7" }
core-graphics-types = { version = "0.1.1" }
skia-safe = { version = "0.71.0", features = ["metal"] }
skia-safe = { version = "0.72.0", features = ["metal"] }

[target.'cfg(not(any(target_os = "macos", target_family = "windows")))'.dependencies]
skia-safe = { version = "0.71.0", features = ["gl"] }
skia-safe = { version = "0.72.0", features = ["gl"] }

[build-dependencies]
cfg_aliases = { workspace = true }

0 comments on commit e873a0d

Please sign in to comment.