[package]
name = "skia-bindings"
description = "Skia Bindings for Rust"
homepage = "https://github.com/rust-skia/rust-skia/tree/master/skia-bindings"
repository = "https://github.com/rust-skia/rust-skia"
readme = "README.md"
keywords = ["skia", "rust-bindings", "vulkan", "opengl", "pdf"]
categories = ["external-ffi-bindings", "graphics", "multimedia::images", "rendering::graphics-api", "visualization"]
license = "MIT"
version = "0.80.0"
authors = ["LongYinan <lynweklm@gmail.com>", "Armin Sander <armin@replicator.org>"]
edition = "2021"
build = "build.rs"
links = "skia"
include = [
"Cargo.toml",
"bindings_docs.rs",
"build.rs",
"build_support.rs",
"build_support/**/*.rs",
"src/**/*.h",
"src/**/*.cpp",
"src/*.rs" ]
[lib]
doctest = false
[package.metadata]
skia = "m131-0.79.1"
[features]
default = ["binary-cache", "embed-icudtl"]
gl = []
egl = []
wayland = []
x11 = []
vulkan = []
metal = []
d3d = []
textlayout = []
webp = ["webp-encode", "webp-decode"]
webp-encode = []
webp-decode = []
use-system-jpeg-turbo = ["mozjpeg-sys"]
svg = ["textlayout"]
shaper = ["textlayout"]
binary-cache = ["flate2", "tar"]
embed-icudtl = ["lazy_static"]
embed-freetype = []
freetype-woff2 = []
[dependencies]
mozjpeg-sys = { version = "2", features = ["with_simd"], optional = true }
lazy_static = { version = "1.4.0", optional = true }
[build-dependencies]
cc = { version = "1.1.28" }
bindgen = { version = "0.70.1" }
regex = "1.4.5"
heck = "0.5.0"
flate2 = { version = "1.0.7", optional = true }
tar = { version = "0.4.26", optional = true }
serde_json = "1.0.39"
toml = "0.8.0"
[dev-dependencies]
cc = { version = "1.1.28" }
bindgen = { version = "0.70.1" }
regex = "1.4.5"
heck = "0.5.0"
flate2 = { version = "1.0.7" }
tar = { version = "0.4.26" }
serde_json = "1.0.39"
toml = "0.8.0"