Cargo Features
[dependencies]
dnp3 = { version = "1.6.0", default-features = false, features = ["ffi", "tls", "serial", "serialization"] }
- default = serial, tls
-
These default features are set whenever
dnp3
is added without
somewhere in the dependency tree.default-features = false - ffi
-
this feature flag is only used when building the FFI
- tls default = sfio-rustls-config, tokio-rustls
-
Affects
tcp::tls
… - serial default = tokio-serial
-
Affects
dnp3::serial
… - serialization = serde
-
Public configuration types dervie both serde::Deserialize and serde::Serialize
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.
- sfio-rustls-config tls
-
Enables sfio-rustls-config
TLS dependencies
- tokio-rustls tls
- tokio-serial serial
-
Enables tokio-serial =5.4.3
serial dependencies
- serde serialization?
-
Enables serde
serde support