Revision control

Copy as Markdown

Other Tools

# 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.76"
name = "wgpu-core"
version = "23.0.1"
authors = ["gfx-rs developers"]
build = "build.rs"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "WebGPU core logic on wgpu-hal"
homepage = "https://wgpu.rs/"
readme = false
keywords = ["graphics"]
license = "MIT OR Apache-2.0"
[package.metadata.cargo-machete]
ignored = ["cfg_aliases"]
[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",
]
[lib]
name = "wgpu_core"
path = "src/lib.rs"
[dependencies.arrayvec]
version = "0.7"
[dependencies.bit-vec]
version = "0.8"
[dependencies.bitflags]
version = "2.6"
[dependencies.bytemuck]
version = "1.20"
optional = true
[dependencies.document-features]
version = "0.2.10"
[dependencies.hal]
version = "23.0.0"
path = "../wgpu-hal"
default-features = false
package = "wgpu-hal"
[dependencies.indexmap]
version = "2"
[dependencies.log]
version = "0.4"
[dependencies.naga]
version = "23.0.0"
path = "../naga"
[dependencies.once_cell]
version = "1.20.2"
[dependencies.parking_lot]
version = "0.12.1"
[dependencies.profiling]
version = "1"
default-features = false
[dependencies.raw-window-handle]
version = "0.6"
optional = true
[dependencies.ron]
version = "0.8"
optional = true
[dependencies.rustc-hash]
version = "1.1.0"
[dependencies.serde]
version = "1"
features = ["derive"]
optional = true
[dependencies.smallvec]
version = "1"
[dependencies.thiserror]
version = "1.0.69"
[dependencies.wgt]
version = "23.0.0"
path = "../wgpu-types"
package = "wgpu-types"
[build-dependencies.cfg_aliases]
version = "0.1"
[features]
api_log_info = []
counters = ["wgt/counters"]
dx12 = ["hal/dx12"]
fragile-send-sync-non-atomic-wasm = [
"hal/fragile-send-sync-non-atomic-wasm",
"wgt/fragile-send-sync-non-atomic-wasm",
]
gles = ["hal/gles"]
glsl = ["naga/glsl-in"]
indirect-validation = ["naga/wgsl-in"]
metal = ["hal/metal"]
observe_locks = [
"dep:ron",
"serde/serde_derive",
]
raw-window-handle = ["dep:raw-window-handle"]
renderdoc = ["hal/renderdoc"]
replay = [
"serde",
"naga/deserialize",
]
resource_log_info = []
serde = [
"dep:serde",
"wgt/serde",
"arrayvec/serde",
]
spirv = [
"naga/spv-in",
"dep:bytemuck",
]
strict_asserts = ["wgt/strict_asserts"]
trace = [
"dep:ron",
"serde",
"naga/serialize",
]
vulkan = ["hal/vulkan"]
wgsl = ["naga/wgsl-in"]