Cargo Features

timesource-core has no features set by default.

[dependencies]
timesource-core = { version = "0.1.3", features = ["cbor", "json", "protobuf"] }
cbor = data-encoding, minicbor

Provide support for encoding and decoding using minicbor

json = serde, serde_json

Provide support for serde with JSON.

protobuf = data-encoding, prost

Provide support for encoding and decoding using protobuf and prost

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.

data-encoding cbor? protobuf?
minicbor cbor?

Enables minicbor ^0.12.0

prost protobuf?

Enables prost ^0.9.0

serde json?
serde_json json?