Cargo Features
[dependencies]
offscreen_gl_context = { version = "0.25.1", default-features = false, features = ["osmesa", "no_wgl", "test_egl_in_linux", "serde", "x11"] }
- default = x11
-
The
x11
feature is set by default wheneveroffscreen_gl_context
is added without
somewhere in the dependency tree.default-features = false - osmesa = osmesa-sys
-
Affects
platform::with_osmesa
… - no_wgl
- test_egl_in_linux = lazy_static, libloading
-
NOTE: Just for testing use, there are no other changes
Features from optional dependencies
In crates that don't use the dep:
syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.
- lazy_static test_egl_in_linux?
- libloading test_egl_in_linux?
-
Enables libloading ^0.5
- osmesa-sys osmesa?
- serde implicit feature
-
Enables serde
serde:
A generic serialization/deserialization framework
- x11 unix not mac android ios default
-
Affects
platform::with_glx
…