# 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.87" name = "wgpu-sync" version = "30.0.0" build = false autolib = false autobins = false autoexamples = false autotests = false autobenches = false description = "Synchronization primitives for wgpu. Not meant for general use." 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 [features] default = ["std"] portable-atomic = [ "dep:portable-atomic", "dep:portable-atomic-util", ] std = [ "dep:parking_lot", "once_cell/std", ] [lib] name = "wgpu_sync" path = "src/lib.rs" [dependencies.cfg-if] version = "1" [dependencies.lock_api] version = "0.4.6" default-features = false [dependencies.once_cell] version = "1.21" features = [ "alloc", "race", ] default-features = false [dependencies.parking_lot] version = "0.12.3" optional = true [target.'cfg(any(not(target_has_atomic = "ptr"), not(target_has_atomic = "64"), not(target_has_atomic = "32"), not(target_has_atomic = "16"), not(target_has_atomic = "8")))'.dependencies.portable-atomic] version = "1.10" optional = true [target.'cfg(not(target_has_atomic = "ptr"))'.dependencies.portable-atomic-util] version = "0.2.4" features = ["alloc"] optional = true [lints.clippy] alloc_instead_of_core = "warn" std_instead_of_alloc = "warn" std_instead_of_core = "warn" [lints.rust] missing_debug_implementations = "warn"