122 lines
3.1 KiB
TOML
122 lines
3.1 KiB
TOML
# 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 = "glow"
|
|
version = "0.16.0"
|
|
authors = [
|
|
"Joshua Groves <josh@joshgroves.com>",
|
|
"Dzmitry Malyshau <kvarkus@gmail.com>",
|
|
]
|
|
build = false
|
|
autobins = false
|
|
autoexamples = false
|
|
autotests = false
|
|
autobenches = false
|
|
description = "GL on Whatever: a set of bindings to run GL (Open GL, OpenGL ES, and WebGL) anywhere, and avoid target-specific code."
|
|
homepage = "https://github.com/grovesNL/glow.git"
|
|
readme = "README.md"
|
|
license = "MIT OR Apache-2.0 OR Zlib"
|
|
repository = "https://github.com/grovesNL/glow"
|
|
|
|
[package.metadata.docs.rs]
|
|
default-target = "x86_64-unknown-linux-gnu"
|
|
targets = [
|
|
"x86_64-unknown-linux-gnu",
|
|
"x86_64-apple-darwin",
|
|
"x86_64-pc-windows-msvc",
|
|
"i686-unknown-linux-gnu",
|
|
"i686-pc-windows-msvc",
|
|
"wasm32-unknown-unknown",
|
|
]
|
|
|
|
[lib]
|
|
name = "glow"
|
|
path = "src/lib.rs"
|
|
|
|
[dependencies.log]
|
|
version = "0.4.16"
|
|
optional = true
|
|
|
|
[features]
|
|
debug_automatic_glGetError = []
|
|
debug_trace_calls = []
|
|
|
|
[target.'cfg(target_arch = "wasm32")'.dependencies.js-sys]
|
|
version = "~0.3"
|
|
|
|
[target.'cfg(target_arch = "wasm32")'.dependencies.slotmap]
|
|
version = "1"
|
|
|
|
[target.'cfg(target_arch = "wasm32")'.dependencies.wasm-bindgen]
|
|
version = "~0.2"
|
|
|
|
[target.'cfg(target_arch = "wasm32")'.dependencies.web_sys]
|
|
version = "~0.3.60"
|
|
features = [
|
|
"Document",
|
|
"Element",
|
|
"HtmlCanvasElement",
|
|
"HtmlImageElement",
|
|
"HtmlVideoElement",
|
|
"ImageBitmap",
|
|
"ImageData",
|
|
"VideoFrame",
|
|
"WebGlActiveInfo",
|
|
"WebGlBuffer",
|
|
"WebGlFramebuffer",
|
|
"WebGlProgram",
|
|
"WebGlQuery",
|
|
"WebGlRenderbuffer",
|
|
"WebGlRenderingContext",
|
|
"WebGl2RenderingContext",
|
|
"WebGlSampler",
|
|
"WebGlShader",
|
|
"WebGlShaderPrecisionFormat",
|
|
"WebGlSync",
|
|
"WebGlTexture",
|
|
"WebGlTransformFeedback",
|
|
"WebGlUniformLocation",
|
|
"WebGlVertexArrayObject",
|
|
"Window",
|
|
"AngleInstancedArrays",
|
|
"ExtBlendMinmax",
|
|
"ExtColorBufferFloat",
|
|
"ExtColorBufferHalfFloat",
|
|
"ExtDisjointTimerQuery",
|
|
"ExtFragDepth",
|
|
"ExtShaderTextureLod",
|
|
"ExtSRgb",
|
|
"ExtTextureFilterAnisotropic",
|
|
"OesElementIndexUint",
|
|
"OesStandardDerivatives",
|
|
"OesTextureFloat",
|
|
"OesTextureFloatLinear",
|
|
"OesTextureHalfFloat",
|
|
"OesTextureHalfFloatLinear",
|
|
"OesVertexArrayObject",
|
|
"WebglColorBufferFloat",
|
|
"WebglCompressedTextureAstc",
|
|
"WebglCompressedTextureEtc",
|
|
"WebglCompressedTextureEtc1",
|
|
"WebglCompressedTexturePvrtc",
|
|
"WebglCompressedTextureS3tc",
|
|
"WebglCompressedTextureS3tcSrgb",
|
|
"WebglDebugRendererInfo",
|
|
"WebglDebugShaders",
|
|
"WebglDepthTexture",
|
|
"WebglDrawBuffers",
|
|
"WebglLoseContext",
|
|
"OvrMultiview2",
|
|
]
|
|
package = "web-sys"
|