forked from tkeksa/lis2dh12
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
36 lines (30 loc) · 930 Bytes
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
[package]
name = "lis2dh12"
version = "0.7.0"
authors = ["Tomas Kukosa <tkeksa@gmail.com>"]
repository = "https://github.com/tkeksa/lis2dh12"
documentation = "https://docs.rs/lis2dh12"
license = "Apache-2.0 OR MIT"
description = "Platform-agnostic Rust driver for the LIS2DH12 accelerometer."
readme = "README.md"
keywords = ["accelerometer", "sensor", "i2c", "driver", "embedded-hal-driver"]
categories = ["embedded", "hardware-support", "no-std"]
edition = "2021"
exclude = [
".github",
]
[package.metadata.docs.rs]
all-features = true
[features]
default = []
out_f32 = ["num-traits", "num-derive"]
[dependencies]
accelerometer = "0.12.0"
embedded-hal = "1"
cast = {version = "0.3.0", default-features = false }
num-traits = { version = "0.2.17", optional = true, default-features = false }
num-derive = { version = "0.4.1", optional = true }
[dev-dependencies]
embedded-hal-mock = "0.11.1"
[profile.release]
lto = true