wgpu-core 28.0.1

Core implementation logic of wgpu, the cross-platform, safe, pure-rust graphics API
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 = "2021"
rust-version = "1.82.0"
name = "wgpu-core"
version = "28.0.1"
authors = ["gfx-rs developers"]
build = "build.rs"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Core implementation logic of wgpu, the cross-platform, safe, pure-rust graphics API"
homepage = "https://wgpu.rs/"
readme = false
keywords = ["graphics"]
license = "MIT OR Apache-2.0"
repository = "https://github.com/gfx-rs/wgpu"

[package.metadata.docs.rs]
all-features = true
rustdoc-args = [
    "--cfg",
    "docsrs",
]
targets = [
    "x86_64-unknown-linux-gnu",
    "x86_64-apple-darwin",
    "x86_64-pc-windows-msvc",
    "wasm32-unknown-unknown",
]

[package.metadata.cargo-machete]
ignored = ["cfg_aliases"]

[features]
angle = ["wgpu-core-deps-apple/angle"]
api_log_info = []
counters = ["wgpu-types/counters"]
default = ["std"]
dx12 = ["wgpu-core-deps-windows-linux-android/dx12"]
fragile-send-sync-non-atomic-wasm = ["wgpu-hal/fragile-send-sync-non-atomic-wasm"]
gles = [
    "wgpu-core-deps-windows-linux-android/gles",
    "wgpu-core-deps-emscripten/gles",
]
glsl = ["naga/glsl-in"]
metal = ["wgpu-core-deps-apple/metal"]
noop = []
observe_locks = [
    "std",
    "dep:ron",
    "serde/serde_derive",
]
portable-atomic = [
    "dep:portable-atomic",
    "wgpu-hal/portable-atomic",
]
raw-window-handle = ["dep:raw-window-handle"]
renderdoc = ["wgpu-core-deps-windows-linux-android/renderdoc"]
replay = [
    "serde",
    "naga/deserialize",
]
resource_log_info = []
serde = [
    "dep:serde",
    "wgpu-types/serde",
    "arrayvec/serde",
    "hashbrown/serde",
    "smallvec/serde",
    "macro_rules_attribute",
]
spirv = ["naga/spv-in"]
static-dxc = ["wgpu-hal/static-dxc"]
std = []
strict_asserts = ["wgpu-types/strict_asserts"]
trace = [
    "serde",
    "std",
    "dep:ron",
    "naga/serialize",
    "wgpu-types/trace",
]
vulkan = ["wgpu-core-deps-windows-linux-android/vulkan"]
vulkan-portability = ["wgpu-core-deps-apple/vulkan-portability"]
webgl = [
    "wgpu-core-deps-wasm/webgl",
    "wgpu-types/web",
]
wgsl = ["naga/wgsl-in"]

[lib]
name = "wgpu_core"
path = "src/lib.rs"

[dependencies.arrayvec]
version = "0.7.1"
default-features = false

[dependencies.bit-set]
version = "0.8"
default-features = false

[dependencies.bit-vec]
version = "0.8"
default-features = false

[dependencies.bitflags]
version = "2.9"

[dependencies.bytemuck]
version = "1.22"
features = [
    "extern_crate_alloc",
    "min_const_generics",
]

[dependencies.document-features]
version = "0.2.10"

[dependencies.hashbrown]
version = "0.16"
features = [
    "default-hasher",
    "inline-more",
]
default-features = false

[dependencies.indexmap]
version = "2.8"
default-features = false

[dependencies.log]
version = "0.4.21"

[dependencies.macro_rules_attribute]
version = "0.2"
optional = true

[dependencies.naga]
version = "28.0.0"

[dependencies.once_cell]
version = "1.21"
features = ["std"]
default-features = false

[dependencies.parking_lot]
version = "0.12.3"

[dependencies.profiling]
version = "1.0.1"
default-features = false

[dependencies.raw-window-handle]
version = "0.6.2"
optional = true
default-features = false

[dependencies.ron]
version = "0.12"
optional = true

[dependencies.rustc-hash]
version = "1.1"
default-features = false

[dependencies.serde]
version = "1.0.219"
features = [
    "default",
    "derive",
]
optional = true
default-features = false

[dependencies.smallvec]
version = "1.14"

[dependencies.thiserror]
version = "2.0.12"
default-features = false

[dependencies.wgpu-hal]
version = "28.0.0"

[dependencies.wgpu-types]
version = "28.0.0"
default-features = false

[build-dependencies.cfg_aliases]
version = "0.2.1"

[target.'cfg(all(target_arch = "wasm32", not(target_os = "emscripten")))'.dependencies.wgpu-core-deps-wasm]
version = "28.0.0"
optional = true

[target.'cfg(any(windows, target_os = "linux", target_os = "android", target_os = "freebsd"))'.dependencies.wgpu-core-deps-windows-linux-android]
version = "28.0.0"
optional = true

[target.'cfg(not(target_has_atomic = "64"))'.dependencies.portable-atomic]
version = "1.8"
optional = true

[target.'cfg(target_os = "emscripten")'.dependencies.wgpu-core-deps-emscripten]
version = "28.0.0"
optional = true

[target.'cfg(target_vendor = "apple")'.dependencies.wgpu-core-deps-apple]
version = "28.0.0"
optional = true

[lints.rust.unexpected_cfgs]
level = "warn"
priority = 0
check-cfg = ["cfg(wgpu_validate_locks)"]