[package] name = "iced_wgpu" version = "0.10.0" authors = ["Héctor Ramón Jiménez "] edition = "2021" description = "A wgpu renderer for Iced" license = "MIT AND OFL-1.1" repository = "https://github.com/iced-rs/iced" [features] geometry = ["iced_graphics/geometry", "lyon"] image = ["iced_graphics/image"] svg = ["resvg"] [dependencies] wgpu = "0.16" raw-window-handle = "0.5" log = "0.4" guillotiere = "0.6" futures = "0.3" bitflags = "1.2" once_cell = "1.0" rustc-hash = "1.1" [target.'cfg(target_arch = "wasm32")'.dependencies] wgpu = { version = "0.16", features = ["webgl"] } [dependencies.twox-hash] version = "1.6" default-features = false [target.'cfg(not(target_arch = "wasm32"))'.dependencies.twox-hash] version = "1.6.1" features = ["std"] [dependencies.bytemuck] version = "1.9" features = ["derive"] [dependencies.iced_graphics] version = "0.8" path = "../graphics" [dependencies.glyphon] version = "0.2" git = "https://github.com/hecrj/glyphon.git" rev = "f145067d292082abdd1f2b2481812d4a52c394ec" [dependencies.glam] version = "0.24" [dependencies.lyon] version = "1.0" optional = true [dependencies.resvg] version = "0.32" optional = true [dependencies.tracing] version = "0.1.6" optional = true [package.metadata.docs.rs] rustdoc-args = ["--cfg", "docsrs"] all-features = true