summaryrefslogtreecommitdiffstats
path: root/third_party/rust/khronos-egl/Cargo.toml
blob: 544cd386f58f764d1e792029178a2df4b0ff2d09 (plain)
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
# 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 believe there's an error in this file please file an
# issue against the rust-lang/cargo repository. If you're
# editing this file be aware that the upstream Cargo.toml
# will likely look very different (and much more reasonable)

[package]
name = "khronos-egl"
version = "4.1.0"
authors = ["Timothée Haudebourg <author@haudebourg.net>", "Sean Kerr <sean@metatomic.io>"]
build = "build.rs"
description = "Rust bindings for EGL"
documentation = "https://docs.rs/khronos-egl"
readme = "README.md"
keywords = ["egl", "gl", "khronos", "opengl"]
license = "MIT/Apache-2.0"
repository = "https://github.com/timothee-haudebourg/khronos-egl"

[[example]]
name = "wayland-static"
required-features = ["static"]

[[example]]
name = "wayland-dynamic"
required-features = ["dynamic"]

[[example]]
name = "load-minimal"
required-features = ["dynamic", "1_4"]
[dependencies.libc]
version = "^0.2"

[dependencies.libloading]
version = "^0.7"
optional = true
[dev-dependencies.gl]
version = "^0.14"

[dev-dependencies.wayland-client]
version = "^0.28"

[dev-dependencies.wayland-egl]
version = "^0.28"

[dev-dependencies.wayland-protocols]
version = "^0.28"
features = ["client"]
[build-dependencies.pkg-config]
version = "^0.3"
optional = true

[features]
1_0 = []
1_1 = ["1_0"]
1_2 = ["1_1"]
1_3 = ["1_2"]
1_4 = ["1_3"]
1_5 = ["1_4"]
default = ["1_5"]
dynamic = ["libloading"]
no-pkg-config = []
static = ["pkg-config"]