173 lines
3.2 KiB
TOML
173 lines
3.2 KiB
TOML
# 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 = "24.0.5"
|
|
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.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.7"
|
|
|
|
[dependencies.bytemuck]
|
|
version = "1.21"
|
|
features = [
|
|
"derive",
|
|
"min_const_generics",
|
|
]
|
|
optional = true
|
|
|
|
[dependencies.document-features]
|
|
version = "0.2.10"
|
|
|
|
[dependencies.hal]
|
|
version = "24.0.0"
|
|
default-features = false
|
|
package = "wgpu-hal"
|
|
|
|
[dependencies.indexmap]
|
|
version = "2"
|
|
|
|
[dependencies.log]
|
|
version = "0.4"
|
|
|
|
[dependencies.naga]
|
|
version = "24.0.0"
|
|
|
|
[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"
|
|
|
|
[dependencies.serde]
|
|
version = "1"
|
|
features = [
|
|
"default",
|
|
"derive",
|
|
]
|
|
optional = true
|
|
default-features = false
|
|
|
|
[dependencies.smallvec]
|
|
version = "1"
|
|
|
|
[dependencies.thiserror]
|
|
version = "2"
|
|
|
|
[dependencies.wgt]
|
|
version = "24.0.0"
|
|
package = "wgpu-types"
|
|
|
|
[build-dependencies.cfg_aliases]
|
|
version = "0.2.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"]
|
|
|
|
[lints.rust.unexpected_cfgs]
|
|
level = "warn"
|
|
priority = 0
|
|
check-cfg = ["cfg(wgpu_validate_locks)"]
|