Cargo Features
[dependencies]
roboplc = { version = "0.4.6", default-features = false, features = ["full", "eapi", "pipe", "rvideo", "rflow", "modbus", "openssl-vendored", "metrics", "async", "locking-default", "locking-rt", "locking-rt-safe", "snmp"] }
- default = locking-default
-
The
locking-default
feature is set by default wheneverroboplc
is added without
somewhere in the dependency tree.default-features = false - full = async, eapi, metrics, modbus, 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
… - openssl-vendored
-
Enables openssl-vendored of busrt and eva-common
- metrics full? = metrics-exporter-prometheus, metrics-exporter-scope, tokio
-
Enables metrics ^0.22.3
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
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? metrics? pipe?
- hostname eapi?
-
Enables hostname ^0.3.1
- metrics-exporter-prometheus metrics?
- metrics-exporter-scope metrics?
- snmp implicit feature
-
Enables snmp
snmp:
SNMP client library
- once_cell eapi?