Cargo Features

veecle-telemetry has no features set by default.

[dependencies]
veecle-telemetry = { version = "0.1.0", features = ["alloc", "enable", "std", "freertos", "system_time"] }
alloc std?

Enables alloc of serde and serde_json

serde:

Provide impls for types in the Rust core allocation and collections library including String, Box<T>, Vec<T>, and Cow<T>. This is a subset of std but may be enabled without depending on all of std.

Affects veecle-telemetry::test_helpers, types::StringType, types::ListType

enable

Enable collecting and exporting telemetry data, should only be set in the final binary crate.

Enables enable of veecle-telemetry-macros

Affects collector::set_exporter

std = alloc, veecle-osal-std

Enables thread_rng of rand ^0.9.2

rand:

Option: enable ThreadRng and rng()

freertos = veecle-osal-freertos
system_time

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.

serde_json alloc?
veecle-osal-freertos freertos?
veecle-osal-std std?