# 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] name = "ina219_rs" version = "0.5.1" authors = [ "Scott Nelson ", "Samuel Freeman ", ] description = "INA219 current/power monitor driver" readme = "README.md" keywords = [ "ina219", "driver", "i2c", "current", "no_std", ] license = "MIT/Apache-2.0" repository = "https://github.com/sndnvaps/ina219" [dependencies.byteorder] version = "1.2.1" optional = true default-features = false [dependencies.cfg-if] version = "1.0.0" [dependencies.collection_literals] version = "1.0.1" optional = true [dependencies.embedded-hal] version = "0.2" optional = true [dependencies.hashbrown] version = "0.12" features = ["ahash"] optional = true default-features = false [dependencies.lazy_static] version = "1.4.0" optional = true [dev-dependencies.embedded-hal-mock] version = "0.4" [dev-dependencies.linux-embedded-hal] version = "0.2" [features] default = ["ina219"] ina219 = [ "dep:hashbrown", "dep:collection_literals", "dep:lazy_static", "dep:byteorder", "dep:embedded-hal", ] physic = [ "dep:hashbrown", "dep:collection_literals", "dep:lazy_static", ]