Cargo Features

RoboPLC has no features set by default.

[dependencies]
roboplc = { version = "0.2.1", features = ["full", "eapi", "pipe", "modbus", "openssl-vendored", "metrics", "snmp"] }
full = eapi, metrics, modbus, pipe
eapi full? = busrt, eva-common, eva-sdk, hostname, tokio

Affects io::eapi

pipe full?

Enables io-util, macros, process, rt and time of tokio

Affects io::pipe

modbus full? = rmodbus

Affects io::modbus

openssl-vendored

Enables openssl-vendored of busrt and eva-common

metrics full? = metrics-exporter-prometheus

Enables metrics

Affects roboplc::metrics_exporter

Features from optional dependencies

In crates that don't use the dep: syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.

rmodbus modbus?
eva-common eapi? openssl-vendored?
eva-sdk eapi?
busrt eapi? openssl-vendored?
tokio eapi? pipe?
hostname eapi?

Enables hostname ^0.3.1

metrics-exporter-prometheus metrics?
snmp implicit feature

Enables snmp

snmp:

SNMP client library