| 1 | [package]
|
| 2 | name = "glow"
|
| 3 | version = "0.16.0"
|
| 4 | description = "GL on Whatever: a set of bindings to run GL (Open GL, OpenGL ES, and WebGL) anywhere, and avoid target-specific code."
|
| 5 | authors = [
|
| 6 | "Joshua Groves <josh@joshgroves.com>" ,
|
| 7 | "Dzmitry Malyshau <kvarkus@gmail.com>" ,
|
| 8 | ]
|
| 9 | homepage = "https://github.com/grovesNL/glow.git"
|
| 10 | repository = "https://github.com/grovesNL/glow"
|
| 11 | license = "MIT OR Apache-2.0 OR Zlib"
|
| 12 | edition = "2021"
|
| 13 |
|
| 14 | [package.metadata.docs.rs]
|
| 15 | default-target = "x86_64-unknown-linux-gnu"
|
| 16 | targets = [
|
| 17 | "x86_64-unknown-linux-gnu" ,
|
| 18 | "x86_64-apple-darwin" ,
|
| 19 | "x86_64-pc-windows-msvc" ,
|
| 20 | "i686-unknown-linux-gnu" ,
|
| 21 | "i686-pc-windows-msvc" ,
|
| 22 | "wasm32-unknown-unknown"
|
| 23 | ]
|
| 24 |
|
| 25 | [lib]
|
| 26 | name = "glow"
|
| 27 | path = "src/lib.rs"
|
| 28 |
|
| 29 | [dependencies]
|
| 30 | log = { version = "0.4.16" , optional = true }
|
| 31 |
|
| 32 | [features]
|
| 33 | debug_trace_calls = []
|
| 34 | debug_automatic_glGetError = []
|
| 35 |
|
| 36 | [target.'cfg(target_arch = "wasm32")'.dependencies]
|
| 37 | js-sys = "~0.3"
|
| 38 | wasm-bindgen = "~0.2"
|
| 39 | slotmap = "1"
|
| 40 |
|
| 41 | [target.'cfg(target_arch = "wasm32")'.dependencies.web_sys]
|
| 42 | version = "~0.3.60"
|
| 43 | package = "web-sys"
|
| 44 | features = [
|
| 45 | "Document" ,
|
| 46 | "Element" ,
|
| 47 | "HtmlCanvasElement" ,
|
| 48 | "HtmlImageElement" ,
|
| 49 | "HtmlVideoElement" ,
|
| 50 | "ImageBitmap" ,
|
| 51 | "ImageData" ,
|
| 52 | "VideoFrame" ,
|
| 53 | "WebGlActiveInfo" ,
|
| 54 | "WebGlBuffer" ,
|
| 55 | "WebGlFramebuffer" ,
|
| 56 | "WebGlProgram" ,
|
| 57 | "WebGlQuery" ,
|
| 58 | "WebGlRenderbuffer" ,
|
| 59 | "WebGlRenderingContext" ,
|
| 60 | "WebGl2RenderingContext" ,
|
| 61 | "WebGlSampler" ,
|
| 62 | "WebGlShader" ,
|
| 63 | "WebGlShaderPrecisionFormat" ,
|
| 64 | "WebGlSync" ,
|
| 65 | "WebGlTexture" ,
|
| 66 | "WebGlTransformFeedback" ,
|
| 67 | "WebGlUniformLocation" ,
|
| 68 | "WebGlVertexArrayObject" ,
|
| 69 | "Window" ,
|
| 70 |
|
| 71 | "AngleInstancedArrays" ,
|
| 72 | "ExtBlendMinmax" ,
|
| 73 | "ExtColorBufferFloat" ,
|
| 74 | "ExtColorBufferHalfFloat" ,
|
| 75 | "ExtDisjointTimerQuery" ,
|
| 76 | "ExtFragDepth" ,
|
| 77 | "ExtShaderTextureLod" ,
|
| 78 | "ExtSRgb" ,
|
| 79 | "ExtTextureFilterAnisotropic" ,
|
| 80 | "OesElementIndexUint" ,
|
| 81 | "OesStandardDerivatives" ,
|
| 82 | "OesTextureFloat" ,
|
| 83 | "OesTextureFloatLinear" ,
|
| 84 | "OesTextureHalfFloat" ,
|
| 85 | "OesTextureHalfFloatLinear" ,
|
| 86 | "OesVertexArrayObject" ,
|
| 87 | "WebglColorBufferFloat" ,
|
| 88 | "WebglCompressedTextureAstc" ,
|
| 89 | "WebglCompressedTextureEtc" ,
|
| 90 | "WebglCompressedTextureEtc1" ,
|
| 91 | "WebglCompressedTexturePvrtc" ,
|
| 92 | "WebglCompressedTextureS3tc" ,
|
| 93 | "WebglCompressedTextureS3tcSrgb" ,
|
| 94 | "WebglDebugRendererInfo" ,
|
| 95 | "WebglDebugShaders" ,
|
| 96 | "WebglDepthTexture" ,
|
| 97 | "WebglDrawBuffers" ,
|
| 98 | "WebglLoseContext" ,
|
| 99 | "OvrMultiview2" ,
|
| 100 | ]
|
| 101 |
|
| 102 | [workspace]
|
| 103 | members = [
|
| 104 | "examples/hello" ,
|
| 105 | "examples/howto" ,
|
| 106 | ]
|
| 107 | |