Cargo Features

[dependencies]
roboplc = { version = "0.5.0", default-features = false, features = ["full", "eapi", "pipe", "rvideo", "rflow", "modbus", "metrics", "async", "locking-default", "locking-rt", "locking-rt-safe", "json", "msgpack", "snmp2"] }
default = locking-default

The locking-default feature is set by default whenever roboplc is added without default-features = false somewhere in the dependency tree.

full = async, eapi, json, metrics, modbus, msgpack, pipe, rflow, rvideo
eapi full? = busrt, eva-common, eva-sdk, hostname, once_cell, tokio

Affects io::eapi

pipe full?

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

Affects io::pipe

rvideo full?

Enables rvideo

Affects roboplc::serve_rvideo

rflow full?

Enables rflow

Affects roboplc::serve_rflow

modbus full? = rmodbus

Affects io::modbus

metrics full? = metrics-exporter-prometheus, metrics-exporter-scope, tokio

Enables metrics

Affects roboplc::metrics_exporter, roboplc::metrics_exporter_install

async full?

Enables parking_lot_rt

Affects roboplc::hub_async

locking-default default

Enables parking_lot, parking_lot of rtsc, locking-default of optional rflow, locking-default of optional rvideo

locking-rt

Enables parking_lot_rt, locking-rt of optional rflow and optional rvideo

locking-rt-safe

Enables locking-rt-safe of optional rflow and optional rvideo

json full? = serde_json

Affects roboplc::state

msgpack full? = rmp-serde

Affects roboplc::state

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?
eva-sdk eapi?
busrt eapi?
tokio eapi? metrics? pipe?
hostname eapi?

Enables hostname ^0.3.1

metrics-exporter-prometheus metrics?
metrics-exporter-scope metrics?
snmp2 implicit feature

Enables snmp2 ^0.3

snmp2:

SNMP v1/v2/v3 sync/async client library with traps and MIB support

once_cell eapi?
serde_json json?
rmp-serde msgpack?