# 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 believe there's an error in this file please file an # issue against the rust-lang/cargo repository. If you're # editing this file be aware that the upstream Cargo.toml # will likely look very different (and much more reasonable) [package] edition = "2018" name = "mh-zx-driver" version = "0.2.0" authors = ["Constantine Verutin "] description = "MH-Z* family (MH-Z14/Z19/Z19B) CO2 sensor driver built on top of `embedded-hal` primitives." readme = "README.md" keywords = ["mh-z19", "embedded", "sensor"] categories = ["embedded", "no-std"] license = "Apache-2.0" repository = "https://github.com/xaep/mh-zx-driver" [[example]] name = "prometheus_exporter" required-features = ["examples"] [dependencies.embedded-hal] version = "0.2.4" [dependencies.env_logger] version = "0.7.1" optional = true [dependencies.futures] version = "0.3.5" optional = true [dependencies.linux-embedded-hal] version = "0.3.0" optional = true [dependencies.log] version = "0.4.11" optional = true [dependencies.nb] version = "0.1.1" [dependencies.prometheus] version = "0.9.0" optional = true [dependencies.prometheus_exporter] version = "0.5.0" optional = true [dev-dependencies.embedded-hal-mock] version = "0.7.2" [features] async = ["futures"] default = [] examples = ["linux-embedded-hal", "prometheus", "prometheus_exporter", "env_logger", "log"]