# 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 are reading this file be aware that the original Cargo.toml # will likely look very different (and much more reasonable). # See Cargo.toml.orig for the original contents. [package] edition = "2018" name = "piston2d-opengl_graphics" version = "0.86.0" authors = [ "bvssvni ", "Coeuvre ", "gmorenz", "leonkunert ", "mitchmindtree ", "Christiandh", "Apointos", "ccgn", "reem", "TyOverby ", ] build = false exclude = [ "assets/*", "Cargo.png", ] autobins = false autoexamples = false autotests = false autobenches = false description = "An OpenGL 2D back-end for the Piston game engine" homepage = "https://github.com/PistonDevelopers/opengl_graphics" documentation = "https://docs.rs/piston2d-opengl_graphics" readme = "README.md" keywords = [ "opengl", "graphics", "2d", "piston", ] license = "MIT" repository = "https://github.com/PistonDevelopers/opengl_graphics.git" [lib] name = "opengl_graphics" path = "src/lib.rs" [[example]] name = "async_test" path = "examples/async_test.rs" [[example]] name = "colored_image_test" path = "examples/colored_image_test.rs" [[example]] name = "draw_state" path = "examples/draw_state.rs" [[example]] name = "glow" path = "examples/glow.rs" [[example]] name = "hello_world" path = "examples/hello_world.rs" [[example]] name = "image_test" path = "examples/image_test.rs" [[example]] name = "nested_clipping" path = "examples/nested_clipping.rs" [[example]] name = "text_test" path = "examples/text_test.rs" [[example]] name = "texture_src_rect" path = "examples/texture_src_rect.rs" [[example]] name = "texture_swap" path = "examples/texture_swap.rs" [[example]] name = "texture_wrap" path = "examples/texture_wrap.rs" [dependencies.fnv] version = "1.0.7" [dependencies.gl] version = "0.14.0" optional = true [dependencies.image] version = "0.25.2" [dependencies.piston-shaders_graphics2d] version = "0.4.0" [dependencies.piston-texture] version = "0.9.0" [dependencies.piston-viewport] version = "1.0.2" [dependencies.piston2d-glow_wrap] version = "0.1.0" optional = true [dependencies.piston2d-graphics] version = "0.45.0" features = ["glyph_cache_rusttype"] [dependencies.shader_version] version = "0.7.0" [build-dependencies.khronos_api] version = "3.1.0" [features] default = ["gl"] glow = ["piston2d-glow_wrap"] webgl = ["gl"] [target.'cfg(not(any(target_arch = "wasm32")))'.dev-dependencies.futures] version = "0.3.31" [target.'cfg(not(any(target_arch = "wasm32")))'.dev-dependencies.glow] version = "0.14.2" [target.'cfg(not(any(target_arch = "wasm32")))'.dev-dependencies.glutin] version = "0.32.1" [target.'cfg(not(any(target_arch = "wasm32")))'.dev-dependencies.piston] version = "1.0.0" features = ["async"] [target.'cfg(not(any(target_arch = "wasm32")))'.dev-dependencies.pistoncore-sdl2_window] version = "0.70.0" [target.'cfg(not(any(target_arch = "wasm32")))'.dev-dependencies.rand] version = "0.8.5" [target.'cfg(not(any(target_arch = "wasm32")))'.dev-dependencies.tokio] version = "1.40.0" features = ["full"] [target.'cfg(target_arch = "wasm32")'.dependencies.glow] version = "0.14.2" [target.'cfg(target_arch = "wasm32")'.dependencies.wasm-bindgen] version = "0.2.95" [target.'cfg(target_arch = "wasm32")'.dependencies.web-sys] version = "0.3.72" features = [ "HtmlCanvasElement", "WebGl2RenderingContext", "Window", ]