[dependencies.anyhow]
version = "1.0"
[dev-dependencies.glutin]
default-features = false
features = ["glx", "x11"]
version = "0.32"
[dev-dependencies.test-fork]
version = "0.1"
[dev-dependencies.winit]
default-features = false
features = ["rwh_06", "x11"]
version = "0.30"
[lib]
name = "xgl"
path = "src/lib.rs"
[lints.clippy]
absolute-paths = "warn"
allow-attributes = "warn"
clone-on-ref-ptr = "warn"
collapsible-else-if = "allow"
collapsible-if = "allow"
dbg-macro = "warn"
derive-partial-eq-without-eq = "warn"
diverging-sub-expression = "allow"
doc-markdown = "warn"
join-absolute-paths = "warn"
large-enum-variant = "warn"
let-and-return = "allow"
let-unit-value = "allow"
module-inception = "allow"
multiple-unsafe-ops-per-block = "warn"
redundant-closure-for-method-calls = "warn"
too_many_arguments = "allow"
type-complexity = "allow"
unchecked-time-subtraction = "warn"
undocumented-unsafe-blocks = "warn"
uninlined-format-args = "warn"
use-self = "warn"
wildcard-imports = "warn"
[lints.rust]
deprecated-safe = "warn"
future-incompatible = "warn"
keyword-idents = "warn"
let-underscore = "warn"
missing-debug-implementations = "warn"
trivial-numeric-casts = "warn"
unsafe-op-in-unsafe-fn = "warn"
unused = "warn"
[package]
authors = ["Daniel Mueller <deso@posteo.net>"]
autobenches = false
autobins = false
autoexamples = false
autolib = false
autotests = false
build = false
categories = ["external-ffi-bindings", "graphics", "rendering::graphics-api"]
description = """
Unified minimalist OpenGL 3.3 & WebGL abstractions.
"""
documentation = "https://docs.rs/xgl"
edition = "2021"
keywords = ["gamedev", "gl", "graphics", "opengl"]
license = "Apache-2.0 OR MIT"
name = "xgl"
readme = "README.md"
repository = "https://github.com/d-e-s-o/xgl.git"
version = "0.2.1"
[target.'cfg(target_arch = "wasm32")'.dependencies.wasm-bindgen]
default-features = false
features = ["std"]
version = "0.2"
[target.'cfg(target_arch = "wasm32")'.dependencies.web-sys]
default-features = false
features = ["WebGl2RenderingContext", "WebGlBuffer", "WebGlFramebuffer", "WebGlProgram", "WebGlShader", "WebGlTexture", "WebGlUniformLocation", "WebGlVertexArrayObject"]
version = "0.3"