Cargo Features

ethercat-sys has no features set by default.

[dependencies]
ethercat-sys = { 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

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.