# 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 = "bevy_webgl2" version = "0.5.2" authors = ["Mariusz KryƄski "] exclude = ["assets/**/*", ".github/**/*", "index.html", "fix_bevy_example.sh", "Makefile.toml"] description = "A webgl2 wasm32 render backend for Bevy Engine" readme = "README.md" keywords = ["bevy", "webgl", "webgl2"] license = "MIT" repository = "https://github.com/mrk-its/bevy_webgl2" [profile.release] opt-level = "s" lto = true codegen-units = 1 [[example]] name = "sprite" path = "examples/2d/sprite.rs" [[example]] name = "sprite_sheet" path = "examples/2d/sprite_sheet.rs" [[example]] name = "3d_scene" path = "examples/3d/3d_scene.rs" [[example]] name = "pbr" path = "examples/3d/pbr.rs" [[example]] name = "texture" path = "examples/3d/texture.rs" [[example]] name = "load_gltf" path = "examples/3d/load_gltf.rs" [[example]] name = "parenting" path = "examples/3d/parenting.rs" [[example]] name = "text" path = "examples/ui/text.rs" [[example]] name = "button" path = "examples/ui/button.rs" [[example]] name = "font_atlas_debug" path = "examples/ui/font_atlas_debug.rs" [[example]] name = "text_debug" path = "examples/ui/text_debug.rs" [[example]] name = "ui" path = "examples/ui/ui.rs" [[example]] name = "breakout" path = "examples/game/breakout.rs" [[example]] name = "shader_defs" path = "examples/shader/shader_defs.rs" [[example]] name = "shader_custom_material" path = "examples/shader/shader_custom_material.rs" [[example]] name = "mesh_custom_attribute" path = "examples/shader/mesh_custom_attribute.rs" [dependencies.bevy] version = "0.5.0" default-features = false [dependencies.cfg-if] version = "1.0.0" [dependencies.js-sys] version = "0.3.45" [dependencies.parking_lot] version = "0.11.0" [dependencies.regex] version = "1.4" [dependencies.wasm-bindgen] version = "=0.2.69" [dependencies.web-sys] version = "0.3.45" features = ["Document", "Element", "HtmlCanvasElement", "WebGlBuffer", "WebGlRenderingContext", "WebGl2RenderingContext", "WebGlProgram", "WebGlShader", "Window", "WebGlFramebuffer", "WebGlTexture", "WebGlUniformLocation", "WebGlActiveInfo", "WebGlVertexArrayObject", "WebGlSync"] [dependencies.winit] version = "0.24.0" features = ["web-sys"] [dev-dependencies.compile-time-run] version = "0.2" [dev-dependencies.getrandom] version = "0.1" features = ["wasm-bindgen"] [dev-dependencies.rand] version = "0.8" [features] default = ["bevy/bevy_winit", "bevy/render", "bevy/bevy_gltf", "bevy/png"]