# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2021"
rust-version = "1.85"
name = "skia-bindings"
version = "0.97.0"
authors = [
    "LongYinan <lynweklm@gmail.com>",
    "Armin Sander <armin@replicator.org>",
]
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",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Skia Bindings for Rust"
homepage = "https://github.com/rust-skia/rust-skia/tree/master/skia-bindings"
readme = "README.md"
keywords = [
    "skia",
    "rust-bindings",
    "vulkan",
    "opengl",
    "pdf",
]
categories = [
    "external-ffi-bindings",
    "graphics",
    "multimedia::images",
    "rendering::graphics-api",
    "visualization",
]
license = "MIT"
repository = "https://github.com/rust-skia/rust-skia"

[package.metadata]
skia = "m148-0.95.2"

[features]
binary-cache = [
    "dep:flate2",
    "dep:tar",
]
d3d = []
default = [
    "binary-cache",
    "embed-icudtl",
    "pdf",
]
egl = []
embed-freetype = []
embed-icudtl = []
freetype-woff2 = []
gl = []
jpeg = [
    "jpeg-encode",
    "jpeg-decode",
]
jpeg-decode = []
jpeg-encode = []
metal = []
no-compile = []
pdf = ["jpeg"]
skottie = ["textlayout"]
svg = ["textlayout"]
textlayout = []
use-system-jpeg-turbo = ["dep:mozjpeg-sys"]
vulkan = []
wayland = []
webp = [
    "webp-encode",
    "webp-decode",
]
webp-decode = []
webp-encode = []
x11 = []

[lib]
name = "skia_bindings"
path = "src/lib.rs"
doctest = false

[[test]]
name = "build_support"
path = "tests/build_support.rs"

[dependencies.mozjpeg-sys]
version = "2"
features = ["with_simd"]
optional = true

[dev-dependencies.bindgen]
version = "0.72.0"

[dev-dependencies.cc]
version = "1.1.28"

[dev-dependencies.flate2]
version = "1.0.7"

[dev-dependencies.heck]
version = "0.5.0"

[dev-dependencies.pkg-config]
version = "0.3.32"

[dev-dependencies.regex]
version = "1.12.3"

[dev-dependencies.serde_json]
version = "1.0.39"

[dev-dependencies.tar]
version = "0.4.45"

[dev-dependencies.toml]
version = "1.0.3"

[build-dependencies.bindgen]
version = "0.72.0"

[build-dependencies.cc]
version = "1.1.28"

[build-dependencies.flate2]
version = "1.0.7"
optional = true

[build-dependencies.heck]
version = "0.5.0"

[build-dependencies.pkg-config]
version = "0.3.32"

[build-dependencies.regex]
version = "1.12.3"

[build-dependencies.serde_json]
version = "1.0.39"

[build-dependencies.tar]
version = "0.4.45"
optional = true

[build-dependencies.toml]
version = "1.0.3"
