# 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 = "lis2dtw12" version = "0.2.1" authors = ["Janek Graff "] build = false exclude = [ ".github", "memory.x", ".cargo", "rust-toolchain.toml", ] autobins = false autoexamples = false autotests = false autobenches = false description = "no_std library for the LIS2DTW12 dual motion and temperature sensor using embedded-hal traits" readme = "README.md" keywords = [ "embedded-hal", "no_std", "accelerometer", "sync", "async", ] categories = [ "embedded", "no-std", "hardware-support", "asynchronous", "no-std::no-alloc", ] license = "Apache-2.0 OR MIT" repository = "https://github.com/JanekGraff/lis2dtw12-rs" [lib] name = "lis2dtw12" path = "src/lib.rs" [dependencies.defmt] version = "0.3" optional = true [dependencies.embedded-hal] version = "1.0" [dependencies.embedded-hal-async] version = "1.0" optional = true [dependencies.log] version = "0.4" optional = true [dependencies.maybe-async-cfg] version = "0.2.5" [features] async = ["dep:embedded-hal-async"] blocking = [] default = [ "blocking", "log", ] defmt = ["dep:defmt"] log = ["dep:log"]