servo-webgpu 0.1.0

A component of the servo web-engine.
Documentation
# 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 = "2024"
rust-version = "1.86.0"
name = "servo-webgpu"
version = "0.1.0"
authors = ["The Servo Project Developers"]
build = false
publish = true
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A component of the servo web-engine."
readme = false
license = "MPL-2.0"
repository = "https://github.com/servo/servo"
resolver = "2"

[lib]
name = "webgpu"
path = "lib.rs"

[dependencies.arrayvec]
version = "0.7"
features = ["serde"]

[dependencies.euclid]
version = "0.22"

[dependencies.log]
version = "0.4.29"

[dependencies.paint_api]
version = "0.1.0"
package = "servo-paint-api"

[dependencies.pixels]
version = "0.1.0"
package = "servo-pixels"

[dependencies.rustc-hash]
version = "2.1.2"

[dependencies.servo-base]
version = "0.1.0"

[dependencies.servo-config]
version = "0.1.0"

[dependencies.webgpu_traits]
version = "0.1.0"
package = "servo-webgpu-traits"

[dependencies.webrender_api]
version = "0.68"

[dependencies.wgpu-core]
version = "26"
features = [
    "serde",
    "wgsl",
]

[dependencies.wgpu-types]
version = "26"

[target.'cfg(any(target_os = "ios", target_os = "macos"))'.dependencies.wgpu-core]
version = "26"
features = ["metal"]

[target.'cfg(any(windows, all(unix, not(any(target_os = "macos", target_os = "ios")))))'.dependencies.wgpu-core]
version = "26"
features = [
    "gles",
    "vulkan",
]

[target."cfg(windows)".dependencies.wgpu-core]
version = "26"
features = [
    "dx12",
    "vulkan",
]