# 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 = "sensor-tlv493d" version = "0.1.0" authors = ["ryan "] description = "Driver for the Infineon tlv493d 3-DoF I2C hall-effect sensor" keywords = ["embedded", "no_std", "sensor", "i2c", "tlv493d"] license = "MPL-2.0" repository = "https://github.com/ryankurte/rust-sensor-tlv493d" [[bin]] name = "tlv493d-util" path = "src/util.rs" required-features = ["util"] [dependencies.anyhow] version = "1.0.33" optional = true [dependencies.bitflags] version = "1.2.1" [dependencies.ctrlc] version = "3.1.6" optional = true [dependencies.embedded-hal] version = "0.2.4" [dependencies.linux-embedded-hal] version = "0.3.0" optional = true [dependencies.log] version = "0.4.11" [dependencies.simplelog] version = "0.8.0" optional = true [dependencies.structopt] version = "0.3.20" optional = true [dependencies.thiserror] version = "1.0.21" optional = true [features] default = ["std", "util"] std = ["thiserror", "anyhow"] util = ["linux-embedded-hal", "structopt", "simplelog", "ctrlc"]