Cargo Features

[dependencies]
sindit-senml = { version = "0.2.0", default-features = false, features = ["float_roundtrip", "stream", "struson"] }
default = float_roundtrip

The float_roundtrip feature is set by default whenever sindit-senml is added without default-features = false somewhere in the dependency tree.

float_roundtrip default

Enable serde/float_roundtrip to have the same
float representation back and forth JSON

Enables float_roundtrip of serde_json

stream

Half baked for now

Features from optional dependencies

struson implicit feature

Enables struson ^0.3

struson:

A low-level streaming JSON reader and writer