instro-ethernetip-1.0.0 has been yanked.
instro-ethernetip
Rust EtherNet/IP explicit messaging for simple PLC tag reads and writes.
This crate is the pure-Rust core used by the Python instro-ethernetip package. It can also be used directly from Rust without PyO3 or Python packaging dependencies.
Installation
[]
= "0.1"
= { = "1", = ["macros", "rt-multi-thread"] }
Enable the blocking feature for the synchronous wrapper:
[]
= { = "0.1", = ["blocking"] }
Async Usage
use ;
async
Blocking Usage
use ExplicitSession;
use ;
The blocking API uses a shared private Tokio runtime. Do not call it from inside async Tokio code; use ExplicitSession directly there.
Development
The repository integration test uses a Python simulator from the monorepo checkout, so it is excluded from the crates.io archive. Run it from the repository root with: