Cargo Features
[dependencies]
ar-drivers = { version = "0.4.3", default-features = false, features = ["grawoow", "mad_gaze", "nreal", "rokid"] }
- default = grawoow, mad_gaze, nreal, rokid
-
These default features are set whenever
ar-drivers
is added without
somewhere in the dependency tree.default-features = false - grawoow default = bytemuck, rusb, tinyjson
-
Affects
ar-drivers::grawoow
… - mad_gaze default = serialport
-
Affects
ar-drivers::mad_gaze
… - nreal default = bytemuck, hidapi, tinyjson
-
Affects
ar-drivers::nreal_air
,ar-drivers::nreal_light
… - rokid default = rusb
-
Affects
ar-drivers::rokid
…
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.