# 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 = "lis2dh12" version = "0.7.0" authors = [ "Tomas Kukosa ", "Robin Mueller ", ] build = false exclude = [".github"] autobins = false autoexamples = false autotests = false autobenches = false description = "Platform-agnostic Rust driver for the LIS2DH12 accelerometer." documentation = "https://docs.rs/lis2dh12" readme = "README.md" keywords = [ "accelerometer", "sensor", "i2c", "driver", "embedded-hal-driver", ] categories = [ "embedded", "hardware-support", "no-std", ] license = "Apache-2.0 OR MIT" repository = "https://github.com/tkeksa/lis2dh12" [package.metadata.docs.rs] all-features = true [profile.release] lto = true [lib] name = "lis2dh12" path = "src/lib.rs" [[test]] name = "create" path = "tests/create.rs" [[test]] name = "intr" path = "tests/intr.rs" [[test]] name = "temp" path = "tests/temp.rs" [dependencies.accelerometer] version = "0.12.0" [dependencies.cast] version = "0.3.0" default-features = false [dependencies.embedded-hal] version = "1.0.0" [dependencies.num-derive] version = "0.4.2" optional = true [dependencies.num-traits] version = "0.2.19" optional = true default-features = false [dev-dependencies.embedded-hal-mock] version = "0.11.1" [features] default = [] out_f32 = [ "num-traits", "num-derive", ]