Cargo Features

[dependencies]
ruuvi-sensor-protocol = { version = "0.6.1", default-features = false, features = ["std", "gateway"] }
default = std

The std feature is set by default whenever ruuvi-sensor-protocol is added without default-features = false somewhere in the dependency tree.

std default

Enables std of optional serde_json

gateway = hex, serde, serde_json

Affects ruuvi-sensor-protocol::gateway

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.

hex gateway?
serde gateway?
serde_json gateway?