Cargo Features

[dependencies]
usbw = { version = "0.0.2", default-features = false, features = ["std", "libusb", "winusb"] }
default = libusb

The libusb feature is set by default whenever usbw is added without default-features = false somewhere in the dependency tree.

std libusb winusb?
libusb default = libc, libusb1-sys, std

Affects usbw::libusb

winusb = std

Enables winusb of winapi

Affects usbw::winusb

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.

winapi winusb?
libc libusb
libusb1-sys libusb

Enables libusb1-sys ^0.3.7