# 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 believe there's an error in this file please file an # issue against the rust-lang/cargo repository. If you're # editing this file be aware that the upstream Cargo.toml # will likely look very different (and much more reasonable) [package] edition = "2018" name = "gfx-backend-gl" version = "0.9.0" authors = ["The Gfx-rs Developers"] description = "OpenGL backend for gfx-rs" homepage = "https://github.com/gfx-rs/gfx" documentation = "https://docs.rs/gfx-backend-gl" readme = "README.md" keywords = ["graphics", "gamedev"] license = "MIT OR Apache-2.0" repository = "https://github.com/gfx-rs/gfx" [lib] name = "gfx_backend_gl" [dependencies.arrayvec] version = "0.5" [dependencies.auxil] version = "0.10" features = ["spirv_cross"] optional = true package = "gfx-auxil" [dependencies.bitflags] version = "1" [dependencies.fxhash] version = "0.2.1" [dependencies.glow] version = "0.9" [dependencies.hal] version = "0.9" package = "gfx-hal" [dependencies.log] version = "0.4" [dependencies.naga] version = "0.5" features = ["spv-in", "glsl-out"] [dependencies.parking_lot] version = "0.11" [dependencies.raw-window-handle] version = "0.3" [dependencies.spirv_cross] version = "0.23" features = ["glsl"] optional = true [features] cross = ["spirv_cross", "auxil", "naga/spv-out"] default = [] [target."cfg(not(target_arch = \"wasm32\"))".dependencies.egl] version = "4.1" features = ["dynamic"] package = "khronos-egl" [target."cfg(not(target_arch = \"wasm32\"))".dependencies.libloading] version = "0.7" [target."cfg(target_arch = \"wasm32\")".dependencies.js-sys] version = "0.3.6" [target."cfg(target_arch = \"wasm32\")".dependencies.wasm-bindgen] version = "0.2.60" [target."cfg(target_arch = \"wasm32\")".dependencies.web-sys] version = "0.3.6" features = ["console", "Document", "Element", "HtmlCanvasElement", "HtmlElement", "Node", "Performance", "WebGlBuffer", "WebGlRenderingContext", "WebGl2RenderingContext", "WebGlProgram", "WebGlSampler", "WebGlShader", "WebGlTexture", "Window"]