[dependencies.base64]
optional = true
version = "0.22.0"
[dependencies.bitflags]
version = "2.0"
[dependencies.lazy_static]
version = "1.4"
[dependencies.percent-encoding]
optional = true
version = "2.3.1"
[dependencies.skia-bindings]
default-features = false
version = "=0.80.0"
[dependencies.skia-svg-macros]
optional = true
version = "0.1.0"
[dependencies.ureq]
optional = true
version = "2.8.0"
[dependencies.windows]
features = ["Win32", "Win32_Graphics", "Win32_Graphics_Dxgi", "Win32_Graphics_Direct3D12", "Win32_Graphics_Direct3D", "Win32_Foundation", "Win32_Graphics_Dxgi_Common"]
optional = true
version = "0.58.0"
[dev-dependencies.serial_test]
version = "3.0"
[dev-dependencies.static_assertions]
version = "1.1"
[dev-dependencies.winit]
version = "0.30.2"
[[example]]
name = "d3d-window"
path = "examples/d3d-window/main.rs"
[[example]]
name = "gl-window"
path = "examples/gl-window/main.rs"
[[example]]
name = "hello"
path = "examples/hello/main.rs"
[[example]]
name = "icon"
path = "examples/icon/main.rs"
[[example]]
name = "metal-window"
path = "examples/metal-window/main.rs"
[[example]]
name = "svg"
path = "examples/svg/main.rs"
[features]
all-linux = ["gl", "egl", "vulkan", "x11", "wayland", "textlayout", "svg", "webp"]
all-macos = ["gl", "vulkan", "metal", "textlayout", "svg", "webp"]
all-windows = ["gl", "vulkan", "d3d", "textlayout", "svg", "webp"]
binary-cache = ["skia-bindings/binary-cache"]
d3d = ["gpu", "windows", "skia-bindings/d3d"]
default = ["binary-cache", "embed-icudtl"]
egl = ["gl", "skia-bindings/egl"]
embed-freetype = ["skia-bindings/embed-freetype"]
embed-icudtl = ["skia-bindings/embed-icudtl"]
freetype-woff2 = ["skia-bindings/freetype-woff2"]
gl = ["gpu", "skia-bindings/gl"]
gpu = []
metal = ["gpu", "skia-bindings/metal"]
save-svg-images = []
shaper = ["textlayout", "skia-bindings/shaper"]
svg = ["skia-bindings/svg", "dep:base64", "dep:percent-encoding", "skia-svg-macros"]
textlayout = ["skia-bindings/textlayout"]
ureq = ["dep:ureq"]
use-system-jpeg-turbo = ["skia-bindings/use-system-jpeg-turbo"]
vulkan = ["gpu", "skia-bindings/vulkan"]
wayland = ["egl", "skia-bindings/wayland"]
webp = ["webp-encode", "webp-decode"]
webp-decode = ["skia-bindings/webp-decode"]
webp-encode = ["skia-bindings/webp-encode"]
x11 = ["gl", "skia-bindings/x11"]
[lib]
doctest = false
name = "skia_safe"
path = "src/lib.rs"
[package]
authors = ["Armin Sander <armin@replicator.org>"]
autobenches = false
autobins = false
autoexamples = false
autotests = false
build = false
categories = ["api-bindings", "graphics", "multimedia::images", "rendering::graphics-api", "visualization"]
description = "Safe Skia Bindings for Rust"
documentation = "https://rust-skia.github.io/doc/skia_safe"
edition = "2021"
homepage = "https://github.com/rust-skia/rust-skia"
keywords = ["skia", "rust-bindings", "vulkan", "opengl", "pdf"]
license = "MIT"
name = "skia-safe"
readme = "README.md"
repository = "https://github.com/rust-skia/rust-skia"
version = "0.80.1"
[target.'cfg(all(not(target_os = "android"), not(target_os = "emscripten"), not(target_os = "ios")))'.dev-dependencies.gl-rs]
package = "gl"
version = "0.14.0"
[target.'cfg(all(not(target_os = "android"), not(target_os = "emscripten"), not(target_os = "ios")))'.dev-dependencies.glutin]
version = "0.32.0"
[target.'cfg(all(not(target_os = "android"), not(target_os = "emscripten"), not(target_os = "ios")))'.dev-dependencies.glutin-winit]
version = "0.5.0"
[target.'cfg(all(not(target_os = "android"), not(target_os = "emscripten"), not(target_os = "ios")))'.dev-dependencies.raw-window-handle]
version = "0.6.0"
[target.'cfg(target_os = "macos")'.dev-dependencies.cocoa]
version = "0.26.0"
[target.'cfg(target_os = "macos")'.dev-dependencies.core-graphics-types]
version = "0.1.1"
[target.'cfg(target_os = "macos")'.dev-dependencies.foreign-types-shared]
version = "0.1.1"
[target.'cfg(target_os = "macos")'.dev-dependencies.metal-rs]
package = "metal"
version = "0.24.0"
[target.'cfg(target_os = "macos")'.dev-dependencies.objc]
version = "0.2.7"
[target.'cfg(target_os = "macos")'.dev-dependencies.raw-window-handle]
version = "0.6.0"
[target.'cfg(target_os = "windows")'.dev-dependencies.anyhow]
version = "1.0.75"
[target.'cfg(target_os = "windows")'.dev-dependencies.windows]
features = ["Win32", "Win32_Graphics", "Win32_Graphics_Dxgi", "Win32_Graphics_Direct3D12", "Win32_Graphics_Direct3D", "Win32_Foundation", "Win32_Graphics_Dxgi_Common"]
version = "0.58.0"
[[test]]
name = "codec"
path = "tests/codec.rs"
[[test]]
name = "send_sync"
path = "tests/send_sync.rs"
[[test]]
name = "shaper"
path = "tests/shaper.rs"