# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO # # When uploading crates to the registry Cargo will automatically # "normalize" Cargo.toml files for maximal compatibility # with all versions of Cargo and also rewrite `path` dependencies # to registry (e.g., crates.io) dependencies. # # If you are reading this file be aware that the original Cargo.toml # will likely look very different (and much more reasonable). # See Cargo.toml.orig for the original contents. [package] edition = "2021" rust-version = "1.71" name = "msr-core" version = "0.3.7" description = "Industrial Automation Toolbox - Common core components" homepage = "https://github.com/slowtec/msr" license = "MIT/Apache-2.0" repository = "https://github.com/slowtec/msr" [dependencies.anyhow] version = "1.0.72" [dependencies.base64] version = "0.21.2" [dependencies.csv] version = "1.2.2" optional = true default-features = false [dependencies.log] version = "0.4.19" [dependencies.num-derive] version = "0.4.0" [dependencies.num-traits] version = "0.2.16" [dependencies.serde] version = "1.0.178" optional = true default-features = false [dependencies.serde_json] version = "1.0.104" optional = true default-features = false [dependencies.thiserror] version = "1.0.44" [dependencies.thread-priority] version = "0.13.1" optional = true default-features = false [dependencies.time] version = "0.3.23" features = [ "local-offset", "macros", "formatting", "parsing", ] [dependencies.ulid] version = "1.0.0" optional = true [dev-dependencies.serde_json] version = "1.0.104" [dev-dependencies.tempfile] version = "3.7.0" [features] csv-event-journal = [ "event-journal", "csv-storage", ] csv-register-recorder = [ "register-recorder", "csv-storage", ] csv-storage = [ "serde", "csv", ] default = [] event-journal = [ "serde/derive", "ulid", ] full = [ "csv-event-journal", "csv-register-recorder", "realtime-worker-thread", ] realtime-worker-thread = ["thread-priority"] register-recorder = ["serde/derive"] serde = [ "dep:serde", "time/serde-human-readable", ] [target."cfg(loom)".dependencies.loom] version = "0.6.1"