# 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 = "lis2dh12"
version = "0.6.2"
authors = ["Tomas Kukosa <tkeksa@gmail.com>"]
exclude = [".github"]
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
[dependencies.accelerometer]
version = "0.12.0"

[dependencies.cast]
version = "0.2.5"
default-features = false

[dependencies.embedded-hal]
version = "0.2.4"

[dependencies.num-derive]
version = "0.3.3"
optional = true

[dependencies.num-traits]
version = "0.2.14"
optional = true
[dev-dependencies.embedded-hal-mock]
version = "0.7.2"

[features]
default = []
out_f32 = ["num-traits", "num-derive"]
