summaryrefslogtreecommitdiffstats
path: root/third_party/rust/khronos-egl/Cargo.toml
blob: 2987708252375faa265f7df65c77dad28d3f297a (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
69
70
71
72
73
74
75
76
77
78
79
80
81
82
# 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 = "khronos-egl"
version = "6.0.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.8"
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"]