forked from glium/glium
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
59 lines (51 loc) · 1.69 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
[package]
name = "glium"
version = "0.31.0"
authors = ["Pierre Krieger <[email protected]>"]
description = """
Elegant and safe OpenGL wrapper.
Glium is an intermediate layer between OpenGL and your application. You still need to manually handle
the graphics pipeline, but without having to use OpenGL's old and error-prone API.
Its objectives:
- Be safe to use. Many aspects of OpenGL that can trigger a crash if misused are automatically handled by glium.
- Provide an API that enforces good pratices such as RAII or stateless function calls.
- Be compatible with all OpenGL versions that support shaders, providing unified API when things diverge.
- Avoid all OpenGL errors beforehand.
- Produce optimized OpenGL function calls, and allow the user to easily use modern OpenGL techniques.
"""
keywords = ["opengl", "gamedev"]
categories = ["api-bindings", "rendering::graphics-api"]
documentation = "https://docs.rs/glium"
repository = "https://github.com/glium/glium"
readme = "README.md"
license = "Apache-2.0"
build = "build/main.rs"
exclude = ["doc"]
edition = "2018"
[features]
default = ["glutin"]
unstable = [] # used for benchmarks
test_headless = [] # used for testing headless display
vk_interop = [] # used for texture import from Vulkan
[dependencies.glutin]
# version = "0.28"
git = "https://github.com/Atilogit/glutin"
features = []
optional = true
[dependencies]
memoffset = "0.6"
takeable-option = "0.5"
backtrace = "0.3.2"
lazy_static = "1.0"
smallvec = "1.0"
fnv = "1.0.5"
[build-dependencies]
gl_generator = "0.14"
[dev-dependencies]
ouroboros = "0.14"
cgmath = "0.18"
genmesh = "0.6"
image = "0.23"
obj = { version = "0.10", features = ["genmesh"] }
rand = "0.8"
libc = "0.2.62"