Skip to content

Commit

Permalink
Revert "Update Skia Rust Bindings"
Browse files Browse the repository at this point in the history
This reverts commit f809b3f.

Unfortunately this broke the cross build :(
  • Loading branch information
tronical committed Jan 20, 2024
1 parent 25e80af commit a46b708
Show file tree
Hide file tree
Showing 2 changed files with 157 additions and 92 deletions.
11 changes: 6 additions & 5 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.70.0", features = ["textlayout"] }
skia-safe = { version = "0.69.0", features = ["textlayout"] }
glow = { version = "0.13" }
unicode-segmentation = { version = "1.8.0" }

Expand All @@ -57,8 +57,9 @@ softbuffer = { workspace = true, default-features = false }
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.70.0", features = ["d3d"] }
winapi = { version = "0.3", features = ["impl-default", "dwrite", "d3d12", "dxgi", "dxgi1_2", "dxgi1_3", "dxgi1_4", "d3d12sdklayers", "synchapi", "winbase"] }
skia-safe = { version = "0.69.0", features = ["d3d"] }
wio = { version = "0.2.2" }

[target.'cfg(target_os = "macos")'.dependencies]
cocoa = { version = "0.25.0" }
Expand All @@ -68,10 +69,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.70.0", features = ["metal"] }
skia-safe = { version = "0.69.0", features = ["metal"] }

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

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

0 comments on commit a46b708

Please sign in to comment.