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 default-features = false somewhere in the dependency tree.

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.

bytemuck grawoow nreal
rusb grawoow rokid

Affects util::get_device_vid_pid, util::get_interface_for_endpoint

serialport mad_gaze
tinyjson grawoow nreal
hidapi android not android nreal