Cargo Features

[dependencies]
wishbone-bridge = { version = "1.1.0", default-features = false, features = ["spi", "pcie", "ethernet", "usb", "uart"] }
default = ethernet, pcie, spi, uart, usb

The default set of optional packages. Most people will want to use these packages, but they are strictly optional. Note that session is not a package but rather another feature listed in this manifest.

spi default

Affects bridges::spi

pcie default = memmap

Affects bridges::pcie

ethernet default = byteorder

Affects bridges::ethernet

usb default = libusb-sys-wishbone-tool, libusb-wishbone-tool

Affects bridges::usb

uart default = serialport

Affects bridges::uart

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.

memmap pcie

Enables memmap

PCIe support

byteorder ethernet
libusb-sys-wishbone-tool usb
libusb-wishbone-tool usb
serialport uart

Enables serialport ^3.3