Cargo Features

rodbus = { version = "1.4.0", default-features = false, features = ["ffi", "tls", "serial"] }
default = serial, tls

These default features are set whenever rodbus is added without default-features = false somewhere in the dependency tree.

tls default = rx509, sfio-rustls-config, tokio-rustls

Affects client::spawn_tls_client_task, server::spawn_tls_server_task, server::spawn_tls_server_task_with_authz

serial default = tokio-serial

Affects listener::PortState, client::spawn_rtu_client_task, server::spawn_rtu_server_task

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.

rx509 tls

Enables rx509

TLS dependencies

sfio-rustls-config tls
tokio-rustls tls
tokio-serial serial

Enables tokio-serial

serial dependencies