#hardware #scada #secop #sample-environment

secop-core

A Rust framework for a hardware server speaking the SECoP protocol (core library)

1 unstable release

0.1.3 Jun 20, 2022

#38 in #scada


Used in 2 crates

GPL-2.0+

77KB
1.5K SLoC

secop-rs

A Rust framework and demo devices for a hardware server speaking the SECoP protocol.

Build/run

Install the Rust toolchain, currently the nightly channel is required.

Debug mode (faster compilation): cargo run -- test.cfg.

Release mode (optimized for speed): cargo run --release -- test.cfg.

Organization

The code is (currently) split into four crates:

  • secop-core provides the meat of the framework, and server implementation
  • secop-derive (which has to be separate as a proc-macro crate) helps the framework by auto-generating interface boilerplate
  • secop-modules contains concrete modules
  • secop just has the main executable(s)

lib.rs:

The main entry point and crate definitions.

Dependencies

~11–19MB
~261K SLoC