Cargo Features

[dependencies]
rapt = { version = "0.1.4", default-features = false, features = ["timestamp_instruments", "mqtt_publisher", "netopt", "serde_json"] }
default = timestamp_instruments

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

timestamp_instruments default = chrono
mqtt_publisher = mqttc

Affects rapt::mqtt

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.

chrono timestamp_instruments
mqttc mqtt_publisher?
netopt implicit feature

Enables netopt

netopt:

Provides options to work with tcp or ssl streams and has a choice in between

serde_json implicit feature

Enables serde_json

serde_json:

A JSON serialization file format

Affects ser::JsonSerializer