Cargo Features
[dependencies]
sunsniff = { version = "0.4.0", default-features = false, features = ["mqtt", "modbus", "pcap", "influxdb2"] }
- default = influxdb2, modbus, mqtt, pcap
-
These default features are set whenever
sunsniff
is added without
somewhere in the dependency tree.default-features = false - mqtt default
-
Enables mqtt-async-client and serde_json
Affects
sunsniff::mqtt
… - modbus default
-
Enables modbus-robust and serde_with, tokio-modbus and tokio-serial, clock of chrono, time of tokio
Affects
sunsniff::modbus
… - pcap default
-
Enables chrono-tz, etherparse, and pcap
Affects
sunsniff::pcap
…
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.
- influxdb2 default
-
Affects
sunsniff::influxdb2
…