# 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 = "2021" name = "glium" version = "0.36.0" authors = ["Pierre Krieger "] build = "build/main.rs" exclude = ["doc"] autobins = false autoexamples = false autotests = false autobenches = false description = """ Elegant and safe OpenGL wrapper. Glium is an intermediate layer between OpenGL and your application. You still need to manually handle the graphics pipeline, but without having to use OpenGL's old and error-prone API. Its objectives: - Be safe to use. Many aspects of OpenGL that can trigger a crash if misused are automatically handled by glium. - Provide an API that enforces good pratices such as RAII or stateless function calls. - Be compatible with all OpenGL versions that support shaders, providing unified API when things diverge. - Avoid all OpenGL errors beforehand. - Produce optimized OpenGL function calls, and allow the user to easily use modern OpenGL techniques. """ documentation = "https://docs.rs/glium" readme = "README.md" keywords = [ "opengl", "gamedev", ] categories = [ "api-bindings", "rendering::graphics-api", ] license = "Apache-2.0" repository = "https://github.com/glium/glium" [package.metadata.docs.rs] all-features = true [lib] name = "glium" path = "src/lib.rs" [[example]] name = "blitting" path = "examples/blitting.rs" [[example]] name = "compute_image" path = "examples/compute_image.rs" [[example]] name = "deferred" path = "examples/deferred.rs" [[example]] name = "displacement_mapping" path = "examples/displacement_mapping.rs" [[example]] name = "fullscreen" path = "examples/fullscreen.rs" [[example]] name = "fxaa" path = "examples/fxaa.rs" [[example]] name = "gpgpu" path = "examples/gpgpu.rs" [[example]] name = "image" path = "examples/image.rs" [[example]] name = "info" path = "examples/info.rs" [[example]] name = "instancing" path = "examples/instancing.rs" [[example]] name = "manual-creation" path = "examples/manual-creation.rs" [[example]] name = "multiple_windows" path = "examples/multiple_windows.rs" [[example]] name = "picking" path = "examples/picking.rs" [[example]] name = "screenshot" path = "examples/screenshot.rs" [[example]] name = "screenshot-asynchronous" path = "examples/screenshot-asynchronous.rs" [[example]] name = "shadow_mapping" path = "examples/shadow_mapping.rs" [[example]] name = "spirv" path = "examples/spirv/main.rs" [[example]] name = "sprites-batching" path = "examples/sprites-batching.rs" [[example]] name = "subroutines" path = "examples/subroutines.rs" [[example]] name = "teapot" path = "examples/teapot.rs" [[example]] name = "tessellation" path = "examples/tessellation.rs" [[example]] name = "triangle" path = "examples/triangle.rs" [[example]] name = "tutorial-01" path = "examples/tutorial-01.rs" [[example]] name = "tutorial-02" path = "examples/tutorial-02.rs" [[example]] name = "tutorial-03" path = "examples/tutorial-03.rs" [[example]] name = "tutorial-04" path = "examples/tutorial-04.rs" [[example]] name = "tutorial-05" path = "examples/tutorial-05.rs" [[example]] name = "tutorial-06" path = "examples/tutorial-06.rs" [[example]] name = "tutorial-07" path = "examples/tutorial-07.rs" [[example]] name = "tutorial-08" path = "examples/tutorial-08.rs" [[example]] name = "tutorial-09" path = "examples/tutorial-09.rs" [[example]] name = "tutorial-10" path = "examples/tutorial-10.rs" [[example]] name = "tutorial-12" path = "examples/tutorial-12.rs" [[example]] name = "tutorial-13" path = "examples/tutorial-13.rs" [[example]] name = "tutorial-14" path = "examples/tutorial-14.rs" [[test]] name = "atomic_counter" path = "tests/atomic_counter.rs" [[test]] name = "attrs" path = "tests/attrs.rs" [[test]] name = "blit" path = "tests/blit.rs" [[test]] name = "buffer" path = "tests/buffer.rs" [[test]] name = "display" path = "tests/display.rs" [[test]] name = "draw_parameters" path = "tests/draw_parameters.rs" [[test]] name = "framebuffer" path = "tests/framebuffer.rs" [[test]] name = "indices" path = "tests/indices.rs" [[test]] name = "program_variable_types" path = "tests/program_variable_types.rs" [[test]] name = "query" path = "tests/query.rs" [[test]] name = "samplers" path = "tests/samplers.rs" [[test]] name = "shaders" path = "tests/shaders.rs" [[test]] name = "ssbo" path = "tests/ssbo.rs" [[test]] name = "subroutines" path = "tests/subroutines.rs" [[test]] name = "texture_buffer" path = "tests/texture_buffer.rs" [[test]] name = "texture_creation" path = "tests/texture_creation.rs" [[test]] name = "texture_draw" path = "tests/texture_draw.rs" [[test]] name = "texture_read" path = "tests/texture_read.rs" [[test]] name = "texture_sample" path = "tests/texture_sample.rs" [[test]] name = "texture_write" path = "tests/texture_write.rs" [[test]] name = "uniform_buffer" path = "tests/uniform_buffer.rs" [[test]] name = "uniforms" path = "tests/uniforms.rs" [[test]] name = "vertex_buffer" path = "tests/vertex_buffer.rs" [[test]] name = "vertex_source" path = "tests/vertex_source.rs" [[bench]] name = "basic" path = "benches/basic.rs" [dependencies.backtrace] version = "0.3.2" [dependencies.fnv] version = "1.0.5" [dependencies.glutin] version = "0.32" features = [] optional = true default-features = false [dependencies.glutin-winit] version = "0.5" features = [] optional = true default-features = false [dependencies.memoffset] version = "0.9.0" [dependencies.raw-window-handle] version = "0.6" features = [] optional = true default-features = false [dependencies.smallvec] version = "1.0" [dependencies.winit] version = "0.30" features = [] optional = true default-features = false [dev-dependencies.cgmath] version = "0.18" [dev-dependencies.genmesh] version = "0.6" [dev-dependencies.glutin-winit] version = "0.5" [dev-dependencies.image] version = "0.25" [dev-dependencies.libc] version = "0.2.62" [dev-dependencies.obj] version = "0.10" features = ["genmesh"] [dev-dependencies.ouroboros] version = "0.18" [dev-dependencies.rand] version = "0.8" [dev-dependencies.raw-window-handle] version = "0.6" [dev-dependencies.takeable-option] version = "0.5" [dev-dependencies.winit] version = "0.30" [build-dependencies.gl_generator] version = "0.14" [features] default = [ "glutin_backend", "simple_window_builder", "glutin/default", "winit/default", "glutin-winit/default", ] glutin_backend = ["glutin"] simple_window_builder = [ "glutin", "glutin-winit", "winit", "raw-window-handle", ] unstable = [] vk_interop = []