Cargo Features
[dependencies]
surfman = { version = "0.9.8", default-features = false, features = ["chains", "sm-angle", "sm-angle-builtin", "sm-angle-default", "sm-no-wgl", "sm-test", "sm-wayland-default", "sm-x11", "sm-raw-window-handle-generic", "sm-raw-window-handle-05", "sm-raw-window-handle-06", "osmesa-sys"] }
- default = sm-raw-window-handle-06
-
The
sm-raw-window-handle-06
feature is set by default wheneversurfman
is added without
somewhere in the dependency tree.default-features = false - chains = fnv, sparkle
-
Affects
surfman::chains
… - sm-angle sm-angle-default?
-
Affects
windows::angle
… - sm-angle-builtin = mozangle
- sm-angle-default sm-no-wgl? = sm-angle
- sm-no-wgl = sm-angle-default
- sm-test
-
Affects
egl::tests
… - sm-wayland-default
- sm-x11 = x11
- sm-raw-window-handle-generic
- sm-raw-window-handle-05
-
Enables raw-window-handle ^0.5.2
Affects
connection::Connection.from_raw_display_handle
,connection::Connection.create_native_widget_from_raw_window_handle
… - sm-raw-window-handle-06 default
-
Enables raw-window-handle
Affects
connection::Connection.from_display_handle
,connection::Connection.create_native_widget_from_window_handle
…
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.
- fnv chains?
- sparkle chains?
- osmesa-sys implicit feature
-
Enables osmesa-sys
osmesa-sys:
OSMesa library bindings for Rust
- mozangle win sm-angle-builtin?
- x11 unix not mac android ohos sm-x11?