[package] name = "gles30" description = "GLES 3.0 loader/bindings" repository = "https://github.com/Lokathor/gles30" version = "0.5.2" authors = ["Lokathor "] edition = "2018" license = "Zlib OR Apache-2.0 OR MIT" [dependencies] # Enables `bytemuck::Zeroable` on the `GlFns` struct. bytemuck = { version = "1.2", optional = true } # Logging features below use this crate (otherwise println / eprintln) log = { version = "0.4", optional = true } # Uses this for C types (otherwise std::os::raw) chlorine = { version = "1", optional = true } [features] default = [] # Load and call GL globally global_loader = [] # Load and call GL as a struct struct_loader = [] # Enable loading/usage of GL_KHR_debug enums/commands GL_KHR_debug = [] # w/debug_assertions: `trace!` each call to GL before making the GL call. debug_trace_calls = [] # w/debug_assertions: Call glGetError after every GL call and `error!` if necessary. debug_automatic_glGetError = [] # Tag all GL funcitons as `#[inline]` inline = [] # Tag all GL funcitons as `#[inline(always)]` inline_always = [] [dev-dependencies] fermium = { version = "200.12", default-features = false, features = ["static_link"] } [[example]] name = "fermium_global" required-features = ["global_loader"] [[example]] name = "fermium_struct" required-features = ["struct_loader"] [package.metadata.docs.rs] all-features = true rustdoc-args = ["--cfg","docs_rs"]