Cargo Features

[dependencies]
isotp-rs = { version = "0.2.1", default-features = false, features = ["async", "j1939", "std2004", "std2016", "can-fd", "tokio"] }
default = std2004

The std2004 feature is set by default whenever isotp-rs is added without default-features = false somewhere in the dependency tree.

async

Affects device::Driver.transmit, device::Driver.receive, device::Driver.shutdown

j1939 = bitfield-struct, paste

Affects can::j1939

std2004 default
std2016
can-fd

Affects constant::SINGLE_FRAME_SIZE_2004, constant::SINGLE_FRAME_SIZE_2016, constant::FIRST_FRAME_SIZE_2004, constant::FIRST_FRAME_SIZE_2016, constant::CONSECUTIVE_FRAME_SIZE

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.

tokio implicit feature

Enables tokio

tokio:

An event-driven, non-blocking I/O platform for writing asynchronous I/O backed applications

bitfield-struct j1939?
paste j1939?