-
-
Notifications
You must be signed in to change notification settings - Fork 130
/
Cargo.toml
106 lines (98 loc) · 2.35 KB
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
[package]
name = "glow"
version = "0.16.0"
description = "GL on Whatever: a set of bindings to run GL (Open GL, OpenGL ES, and WebGL) anywhere, and avoid target-specific code."
authors = [
"Joshua Groves <josh@joshgroves.com>",
"Dzmitry Malyshau <kvarkus@gmail.com>",
]
homepage = "https://github.com/grovesNL/glow.git"
repository = "https://github.com/grovesNL/glow"
license = "MIT OR Apache-2.0 OR Zlib"
edition = "2021"
[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_trace_calls = []
debug_automatic_glGetError = []
[target.'cfg(target_arch = "wasm32")'.dependencies]
js-sys = "~0.3"
wasm-bindgen = "~0.2"
slotmap = "1"
[target.'cfg(target_arch = "wasm32")'.dependencies.web_sys]
version = "~0.3.60"
package = "web-sys"
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",
]
[workspace]
members = [
"examples/hello",
"examples/howto",
]