[build-dependencies.cfg_aliases]
version = "0.1.1"
[dependencies.bitflags]
version = "2.2.1"
[dependencies.libloading]
optional = true
version = "0.8.0"
[dependencies.once_cell]
version = "1.13"
[dependencies.raw-window-handle]
version = "0.5.2"
[features]
default = ["egl", "glx", "x11", "wayland", "wgl"]
egl = ["glutin_egl_sys", "libloading"]
glx = ["x11", "glutin_glx_sys", "libloading"]
wayland = ["wayland-sys", "egl"]
wgl = ["glutin_wgl_sys", "windows-sys"]
x11 = ["x11-dl"]
[package]
authors = ["Kirill Chibisov <contact@kchibisov.com>"]
description = "Cross-platform OpenGL context provider."
documentation = "https://docs.rs/glutin"
edition = "2021"
keywords = ["windowing", "opengl", "egl"]
license = "Apache-2.0"
name = "glutin"
readme = "README.md"
repository = "https://github.com/rust-windowing/glutin"
rust-version = "1.65.0"
version = "0.31.3"
[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"]
[target."cfg(any(target_os = \"linux\", target_os = \"freebsd\", target_os = \"dragonfly\", target_os = \"netbsd\", target_os = \"openbsd\"))".dependencies.glutin_egl_sys]
optional = true
version = "0.6.0"
[target."cfg(any(target_os = \"linux\", target_os = \"freebsd\", target_os = \"dragonfly\", target_os = \"netbsd\", target_os = \"openbsd\"))".dependencies.glutin_glx_sys]
optional = true
version = "0.5.0"
[target."cfg(any(target_os = \"linux\", target_os = \"freebsd\", target_os = \"dragonfly\", target_os = \"netbsd\", target_os = \"openbsd\"))".dependencies.wayland-sys]
default-features = false
features = ["egl", "client", "dlopen"]
optional = true
version = "0.31.1"
[target."cfg(any(target_os = \"linux\", target_os = \"freebsd\", target_os = \"dragonfly\", target_os = \"netbsd\", target_os = \"openbsd\"))".dependencies.x11-dl]
optional = true
version = "2.20.0"
[target."cfg(any(target_os = \"macos\"))".dependencies.cgl]
version = "0.3.2"
[target."cfg(any(target_os = \"macos\"))".dependencies.core-foundation]
version = "0.9.3"
[target."cfg(any(target_os = \"macos\"))".dependencies.dispatch]
version = "0.2.0"
[target."cfg(any(target_os = \"macos\"))".dependencies.icrate]
features = ["dispatch", "Foundation", "Foundation_NSArray", "Foundation_NSThread", "AppKit", "AppKit_NSView", "AppKit_NSWindow"]
version = "0.0.4"
[target."cfg(any(target_os = \"macos\"))".dependencies.objc2]
features = ["relax-void-encoding"]
version = "0.4.1"
[target."cfg(target_os = \"android\")".dependencies.glutin_egl_sys]
version = "0.6.0"
[target."cfg(windows)".dependencies.glutin_egl_sys]
optional = true
version = "0.6.0"
[target."cfg(windows)".dependencies.glutin_wgl_sys]
optional = true
version = "0.5.0"
[target."cfg(windows)".dependencies.windows-sys]
features = ["Win32_Foundation", "Win32_Graphics_Gdi", "Win32_Graphics_OpenGL", "Win32_System_LibraryLoader", "Win32_UI_WindowsAndMessaging"]
optional = true
version = "0.48"