Cargo Features

[dependencies]
pololu_tic = { version = "0.2.0-beta.4", default-features = false, features = ["std", "i2c", "serial", "usb"] }
default = i2c

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

std usb?

Enables std support. This allows us to enable the std features of some libraries, which allow for derives and from implementations

Enables std of optional embedded-io, num-traits, and thiserror

embedded-io:

Enabled when Serial is enabled

i2c default

Enables support for the I²C interface

Enables embedded-hal

Enabled when either Serial or I²C are enabled

serial

Enables support for the Serial interface

Enables embedded-hal and embedded-io

usb = std

Enables support for the USB interface. Requires std, and does not run on microcontrollers. Only supports platforms that nusb supports.

Enables nusb

Enabled when USB is enabled