[package]
edition = "2018"
name = "offscreen_gl_context"
version = "0.22.2"
authors = ["Emilio Cobos Álvarez <emilio@crisal.io>", "The Servo Project Developers"]
build = "build.rs"
description = "Creation and manipulation of HW accelerated offscreen rendering contexts in multiple platforms. Originally intended for the Servo project's WebGL implementation."
license = "MIT / Apache-2.0"
repository = "https://github.com/servo/rust-offscreen-rendering-context"
[dependencies.euclid]
version = "0.19"
[dependencies.gleam]
version = "0.6"
[dependencies.lazy_static]
version = "1"
optional = true
[dependencies.libloading]
version = "0.5"
optional = true
default-features = false
[dependencies.log]
version = "0.4"
[dependencies.osmesa-sys]
version = "0.1"
optional = true
[dependencies.serde]
version = "1.0"
optional = true
[build-dependencies.gl_generator]
version = "0.11"
[features]
default = ["x11"]
no_wgl = []
osmesa = ["osmesa-sys"]
test_egl_in_linux = ["libloading", "lazy_static"]
[target."cfg(all(unix, not(any(target_os = \"macos\", target_os = \"android\", target_os = \"ios\"))))".dependencies.x11]
version = "2.3.0"
features = ["xlib"]
optional = true
[target."cfg(any(target_os = \"android\", target_os = \"windows\"))".dependencies.libloading]
version = "0.5"
default-features = false
[target."cfg(any(target_os=\"macos\", target_os=\"windows\", target_os=\"android\", target_os=\"ios\"))".dependencies.lazy_static]
version = "1"
[target."cfg(target_os = \"ios\")".dependencies.libloading]
version = "0.5"
default-features = false
[target."cfg(target_os = \"ios\")".dependencies.objc]
version = "0.2"
[target."cfg(target_os = \"windows\")".dependencies.winapi]
version = "0.3"
features = ["wingdi", "winuser", "libloaderapi"]
[target."cfg(target_os = \"windows\")".dev-dependencies.mozangle]
version = "0.2"
features = ["egl"]
[target.x86_64-apple-darwin.dependencies.cgl]
version = "0.2.3"
[target.x86_64-apple-darwin.dependencies.core-foundation]
version = "0.6"