[package]
edition = "2021"
name = "wgpu-profiler"
version = "0.28.0"
authors = ["Andreas Reich <r_andreas2@web.de>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Simple profiler scopes for wgpu using timer queries"
homepage = "https://github.com/Wumpf/wgpu-profiler"
readme = "README.md"
keywords = ["graphics"]
license = "MIT OR Apache-2.0"
repository = "https://github.com/Wumpf/wgpu-profiler"
[features]
puffin = [
"dep:puffin",
"profiling/profile-with-puffin",
]
tracy = [
"dep:tracy-client",
"profiling/profile-with-tracy",
]
[lib]
name = "wgpu_profiler"
path = "src/lib.rs"
[[example]]
name = "demo"
path = "examples/demo.rs"
[[test]]
name = "tests"
path = "tests/tests.rs"
[dependencies.parking_lot]
version = "0.12"
[dependencies.puffin]
version = "0.20"
optional = true
[dependencies.thiserror]
version = "2"
[dependencies.tracy-client]
version = "0.18"
optional = true
[dependencies.wgpu]
version = "30.0.0"
default-features = false
[dev-dependencies.futures-lite]
version = "2"
[dev-dependencies.profiling]
version = "1"
[dev-dependencies.puffin_http]
version = "0.17"
[dev-dependencies.tracy-client]
version = "0.18"
[dev-dependencies.wgpu]
version = "30.0.0"
default-features = true
[dev-dependencies.winit]
version = "0.30"
[lints.clippy]
doc_markdown = "warn"