# 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" name = "ubmsc" version = "0.1.1" authors = ["K. "] build = false autobins = false autoexamples = false autotests = false autobenches = false description = "A client for Battery Management Systems (BMS)." homepage = "https://github.com/katyo/ubmsc-rs" readme = "README.md" keywords = [ "Metrics", "Monitoring", "BMS", "BLE", "Prometheus", ] categories = [ "visualization", "command-line-utilities", ] license = "MIT" repository = "https://github.com/katyo/ubmsc-rs" [profile.release] opt-level = "z" lto = "fat" codegen-units = 1 debug-assertions = false overflow-checks = false incremental = false strip = "symbols" [lib] name = "ubmsc" path = "src/lib.rs" [[bin]] name = "ubmsc" path = "src/main.rs" [dependencies.argp] version = "0.3" [dependencies.btleplug] version = "0.11" [dependencies.futures] version = "0.3" [dependencies.http] version = "1" optional = true [dependencies.http-body-util] version = "0.1" optional = true [dependencies.hyper] version = "1" features = ["http1"] optional = true [dependencies.hyper-util] version = "0.1" features = ["tokio"] optional = true [dependencies.macaddr] version = "1" [dependencies.pretty-hex] version = "0.4" [dependencies.prometheus] version = "0.13" optional = true [dependencies.serde] version = "1" features = ["derive"] optional = true [dependencies.serde_json] version = "1" optional = true [dependencies.serde_toml] version = "0.8" optional = true package = "toml" [dependencies.serde_yaml] version = "0.10" optional = true package = "serde_yaml_ng" [dependencies.thiserror] version = "1" [dependencies.tokio] version = "1" features = [ "macros", "rt", "signal", "sync", "time", ] [dependencies.tracing] version = "0.1" [dependencies.tracing-journald] version = "0.3" optional = true [dependencies.tracing-subscriber] version = "0.3" features = ["env-filter"] optional = true [dependencies.uuid] version = "1" [features] default = [ "default-cmdline", "default-exporter", ] default-cmdline = [ "stderr", "json", "yaml", "toml", "metrics", ] default-exporter = [ "journal", "pull", "push", ] exporter = [ "metrics", "http", "hyper", "hyper-util", "http-body-util", "tokio/net", ] journal = [ "tracing-subscriber", "tracing-journald", ] json = [ "serde", "serde_json", ] metrics = ["prometheus"] multi-thread = ["tokio/rt-multi-thread"] pull = [ "exporter", "hyper/server", ] push = [ "exporter", "hyper/client", ] stderr = ["tracing-subscriber"] toml = [ "serde", "serde_toml", ] yaml = [ "serde", "serde_yaml", ]