# 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 = "ina219" version = "0.2.0" authors = [ "Scott Nelson ", "Tamme Dittrich ", ] 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/scttnlsn/ina219" [[example]] name = "calibration" required-features = [ "sync", "std", "no_transaction", ] [[example]] name = "custom-calibration" required-features = [ "sync", "std", "no_transaction", ] [[example]] name = "full-config" required-features = [ "sync", "std", "no_transaction", ] [[example]] name = "minimal" required-features = [ "sync", "std", "no_transaction", ] [[example]] name = "triggered" required-features = [ "sync", "std", "no_transaction", ] [dependencies.embedded-hal] version = "1.0.0" optional = true [dependencies.embedded-hal-async] version = "1.0.0" optional = true [dev-dependencies.embedded-hal-mock] version = "0.10.0" features = ["eh1"] default-features = false [dev-dependencies.linux-embedded-hal] version = "0.4.0" [features] async = ["dep:embedded-hal-async"] default = [ "sync", "async", "paranoid", ] no_transaction = [] paranoid = [] std = [] sync = ["dep:embedded-hal"]