Cargo Features

voirs-spatial has no features set by default.

[dependencies]
voirs-spatial = { version = "0.1.0-alpha.2", features = ["gpu", "cuda", "metal", "steamvr", "webxr", "windows_mr", "arcore", "arkit", "all_platforms"] }
gpu
cuda

Enables cuda of candle-core

Core ML and tensor operations

metal

Enables metal of candle-core

steamvr all_platforms? = openvr

VR/AR Platform Features

webxr all_platforms? = js-sys, wasm-bindgen, web-sys
windows_mr all_platforms? = winapi
arcore all_platforms? = ndk, ndk-sys
arkit all_platforms? = cocoa, objc
all_platforms = arcore, arkit, steamvr, webxr, windows_mr

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.

openvr steamvr?

Enables openvr

VR/AR Platform Integration Dependencies

wasm-bindgen webxr?
web-sys webxr?
js-sys webxr?
cocoa ios arkit?
ndk android arcore?
ndk-sys android arcore?
objc ios arkit?
winapi win windows_mr?