Cargo Features

EtherCAT has no features set by default.

[dependencies]
ethercat = { version = "0.3.1", features = ["sncn", "pregenerated-bindings"] }
sncn

Enable this feature to use it with the synapticon branch release/v1.5.2-sncn-11 at https://github.com/synapticon/Etherlab_EtherCAT_Master

Enables sncn of ethercat-sys

pregenerated-bindings

Enable this feature to use pregenerated bindings.
CAUTION: If your kernel module was not built
with the corresponding version, it might break your application.

Enables pregenerated-bindings of ethercat-sys