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 107 108 109 110 111 112
|
# 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"
rust-version = "1.70.0"
name = "glutin"
version = "0.32.2"
authors = ["Kirill Chibisov <contact@kchibisov.com>"]
build = "build.rs"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Cross-platform OpenGL context provider."
documentation = "https://docs.rs/glutin"
readme = "README.md"
keywords = [
"windowing",
"opengl",
"egl",
]
license = "Apache-2.0"
repository = "https://github.com/rust-windowing/glutin"
[package.metadata.docs.rs]
default-target = "x86_64-unknown-linux-gnu"
rustdoc-args = [
"--cfg",
"docsrs",
]
targets = [
"aarch64-linux-android",
"x86_64-unknown-linux-gnu",
"x86_64-pc-windows-msvc",
"x86_64-apple-darwin",
"i686-unknown-linux-gnu",
"i686-pc-windows-msvc",
]
[lib]
name = "glutin"
path = "src/lib.rs"
[dependencies.bitflags]
version = "2.2.1"
[dependencies.libloading]
version = "0.8.0"
optional = true
[dependencies.once_cell]
version = "1.13"
[dependencies.raw-window-handle]
version = "0.6.2"
[build-dependencies.cfg_aliases]
version = "0.2.1"
[features]
default = [
"egl",
"glx",
"x11",
"wayland",
]
egl = [
"glutin_egl_sys",
"libloading",
]
glx = [
"x11",
"glutin_glx_sys",
"libloading",
]
wayland = [
"wayland-sys",
"egl",
]
wgl = []
x11 = ["x11-dl"]
[target.'cfg(any(target_os = "linux", target_os = "freebsd", target_os = "dragonfly", target_os = "netbsd", target_os = "openbsd"))'.dependencies.glutin_egl_sys]
version = "0.7.1"
optional = true
[target.'cfg(any(target_os = "linux", target_os = "freebsd", target_os = "dragonfly", target_os = "netbsd", target_os = "openbsd"))'.dependencies.glutin_glx_sys]
version = "0.6.1"
optional = true
[target.'cfg(any(target_os = "linux", target_os = "freebsd", target_os = "dragonfly", target_os = "netbsd", target_os = "openbsd"))'.dependencies.wayland-sys]
version = "0.31.1"
features = [
"egl",
"client",
]
optional = true
default-features = false
[target.'cfg(any(target_os = "linux", target_os = "freebsd", target_os = "dragonfly", target_os = "netbsd", target_os = "openbsd"))'.dependencies.x11-dl]
version = "2.20.0"
optional = true
|