[package] name = "gpu" version = "0.2.3" authors = ["Danilo Guanabara "] edition = "2018" license = "Apache-2.0" description = "An ergonomic GPU API" readme = "README.md" documentation = "https://docs.rs/gpu" repository = "https://github.com/danguafer/gpu" [lib] crate-type = ["cdylib", "rlib"] [dependencies] glow = "0.6.0" shrinkwraprs = "0.3.0" [target.'cfg(not(any(target_arch = "wasm32")))'.dependencies] glutin = "0.20.0" [target.'cfg(target_arch = "wasm32")'.dependencies] web_sys = { version = "0.3", package = "web-sys",features = ["console","Document", "Node", "Element", "HtmlElement", "HtmlCanvasElement"] } wasm-bindgen = { version = "0.2" } [target.'cfg(target_arch = "wasm32")'.dev-dependencies] wasm-bindgen-test = "0.3.17"