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 wheneverpololu_tic
is added without
somewhere in the dependency tree.default-features = false - std usb?
-
Enables std support. This allows us to enable the std features of some libraries, which allow for derives and
from
implementationsEnables 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 thatnusb
supports.Enables nusb
Enabled when USB is enabled