lis2de12 0.2.0

Blocking and async driver for the LIS2DE12 accelerometer with I2C and SPI support
Documentation
# 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 = "2024"
name = "lis2de12"
version = "0.2.0"
authors = ["Gerzain Mata <leftger@gmail.com>"]
build = "build.rs"
include = [
    "src/**/*.rs",
    "build.rs",
    "Cargo.toml",
    "README.md",
    "LICENSE*",
    "src/lis2de12.yaml",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Blocking and async driver for the LIS2DE12 accelerometer with I2C and SPI support"
readme = "README.md"
keywords = [
    "accelerometer",
    "sensor",
    "i2c",
    "spi",
    "embedded-hal-driver",
]
categories = [
    "embedded",
    "hardware-support",
    "no-std",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/leftger/lis2de12"

[features]
async = ["dep:embedded-hal-async"]
default = []
defmt-03 = [
    "dep:defmt",
    "device-driver/defmt-03",
]
embassy = [
    "async",
    "defmt-03",
]
std = []

[lib]
name = "lis2de12"
path = "src/lib.rs"

[dependencies.accelerometer]
version = "0.12.0"

[dependencies.defmt]
version = "1.0.1"
optional = true

[dependencies.device-driver]
version = "1.0.3"
features = ["yaml"]
default-features = false

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

[dependencies.embedded-hal-async]
version = "1.0.0"
optional = true

[dev-dependencies]

[build-dependencies.device-driver-generation]
version = "1.0.7"

[build-dependencies.prettyplease]
version = "0.2.37"

[build-dependencies.proc-macro2]
version = "1.0.103"

[build-dependencies.syn]
version = "2.0.111"
features = ["full"]

[lints.clippy]
correctness = "forbid"
pedantic = "deny"
perf = "forbid"
style = "forbid"
suspicious = "forbid"

[lints.rust]
missing_docs = "deny"
unsafe_code = "deny"