#ether-cat #soem #bindings

sys ethercat-soem-sys

Binding to the SOEM open-source EtherCAT master

3 releases (breaking)

0.2.0 Feb 16, 2022
0.1.0 Nov 23, 2020
0.0.0 Nov 21, 2020

#2 in #ether-cat


Used in 2 crates (via ethercat-soem-ctx)

GPL-2.0-only

1MB
17K SLoC

C 17K SLoC // 0.2% comments Rust 83 SLoC

Contains (static library, 55KB) SOEM/oshw/win32/wpcap/Lib/libwpcap.a, (static library, 21KB) SOEM/oshw/win32/wpcap/Lib/libpacket.a, (static library, 20KB) SOEM/oshw/win32/wpcap/Lib/wpcap.lib, (static library, 19KB) SOEM/oshw/win32/wpcap/Lib/x64/wpcap.lib, (static library, 9KB) SOEM/oshw/win32/wpcap/Lib/Packet.lib, (static library, 9KB) SOEM/oshw/win32/wpcap/Lib/x64/Packet.lib

ethercat-soem-sys

Rust FFI bindings for SOEM.

Usage

[dependencies]
ethercat-soem-sys = "*"

By default this crate compiles with the upstream SOEM master (commit 342ca86). If you like to use an other version you can set the environment variable EC_SOEM_PATH.

Credits

Most of this crate was done by Matwey V. Kornilov.

License

This crate is licensed under the GPLv2.0 license.

No runtime deps

~0–2.3MB
~45K SLoC