[package] name = "egui-wgpu" version.workspace = true description = "Bindings for using egui natively using the wgpu library" authors = [ "Nils Hasenbanck ", "embotech ", "Emil Ernerfeldt ", ] edition.workspace = true rust-version.workspace = true homepage = "https://github.com/emilk/egui/tree/master/crates/egui-wgpu" license.workspace = true readme = "README.md" repository = "https://github.com/emilk/egui/tree/master/crates/egui-wgpu" categories = ["gui", "game-development"] keywords = ["wgpu", "egui", "gui", "gamedev"] include = [ "../LICENSE-APACHE", "../LICENSE-MIT", "**/*.rs", "**/*.wgsl", "Cargo.toml", ] [package.metadata.docs.rs] all-features = true [features] ## Enable profiling with the [`puffin`](https://docs.rs/puffin) crate. puffin = ["dep:puffin"] ## Enable [`winit`](https://docs.rs/winit) integration. winit = ["dep:winit"] [dependencies] egui = { version = "0.24.0", path = "../egui", default-features = false } epaint = { version = "0.24.0", path = "../epaint", default-features = false, features = [ "bytemuck", ] } bytemuck = "1.7" log = { version = "0.4", features = ["std"] } thiserror.workspace = true type-map = "0.5.0" wgpu.workspace = true #! ### Optional dependencies ## Enable this when generating docs. document-features = { version = "0.2", optional = true } winit = { version = "0.28", default-features = false, optional = true } # Native: [target.'cfg(not(target_arch = "wasm32"))'.dependencies] puffin = { workspace = true, optional = true }