Cargo Features

msr-core has no features set by default.

[dependencies]
msr-core = { version = "0.3.7", features = ["full", "serde", "event-journal", "register-recorder", "csv-storage", "csv-event-journal", "csv-register-recorder", "realtime-worker-thread", "serde_json"] }
full = csv-event-journal, csv-register-recorder, realtime-worker-thread
serde csv-storage? event-journal? register-recorder?

Enables serde, serde-human-readable of time

event-journal csv-event-journal? = ulid

Enables derive of serde

serde:

Provide derive(Serialize, Deserialize) macros.

Affects msr-core::event_journal

register-recorder csv-register-recorder?

Enables derive of serde

Affects register::recorder

csv-storage csv-event-journal? csv-register-recorder? = csv, serde

Affects fs::csv, storage::csv

csv-event-journal full? = csv-storage, event-journal

Affects event_journal::csv

csv-register-recorder full? = csv-storage, register-recorder

Affects recorder::csv

realtime-worker-thread full? = thread-priority

Affects msr-core::realtime

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.

csv csv-storage?
serde_json implicit feature

Enables serde_json

serde_json:

A JSON serialization file format

thread-priority realtime-worker-thread?

Enables thread-priority ^0.13.1

ulid event-journal?