Cargo Features
[dependencies]
xloop = { version = "0.1.1", default-features = false, features = ["all", "auto", "macos_metal", "ios_metal", "android_gpu", "windows_dx", "wasm_wgl"] }
- default = auto
-
The
auto
feature is set by default wheneverxloop
is added without
somewhere in the dependency tree.default-features = false - all = xloop_android, xloop_ios, xloop_macos, xloop_wasm, xloop_windows
- auto default
- macos_metal = xloop_macos
- ios_metal = xloop_ios
- android_gpu = xloop_android
- windows_dx = xloop_windows
- wasm_wgl = xloop_wasm
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.