Cargo Features
[dependencies]
rust-webvr = { version = "0.19.0", default-features = false, features = ["vrexternal", "glwindow", "openvr", "googlevr", "oculusvr", "magicleap", "mock"] }
- default = mock, openvr, vrexternal
-
These default features are set whenever
rust-webvr
is added without
somewhere in the dependency tree.default-features = false - vrexternal default
- glwindow = euclid, gleam, glutin, sparkle
- openvr default = libloading
- googlevr = gvr-sys
- oculusvr = ovr-mobile-sys
- magicleap = euclid, gleam, sparkle
- mock default
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.
- gvr-sys googlevr?
- ovr-mobile-sys oculusvr?
- euclid glwindow? magicleap?
-
Enables euclid ^0.20
- gleam glwindow? magicleap?
-
Enables gleam ^0.9
- glutin glwindow?
-
Enables glutin ^0.21
- sparkle glwindow? magicleap?
- libloading win openvr
-
Enables libloading ^0.5