-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
34 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
[package]
name = "lis2dtw12"
version = "0.2.0"
authors = ["Janek Graff <[email protected]>"]
repository = "https://github.com/JanekGraff/lis2dtw12-rs"
license = "Apache-2.0 OR MIT"
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",
]
edition = "2021"
exclude = [".github", "memory.x", ".cargo", "rust-toolchain.toml"]
[dependencies]
embedded-hal = "1.0"
embedded-hal-async = { version = "1.0", optional = true }
maybe-async-cfg = "0.2.5"
log = { version = "0.4", optional = true }
defmt = { version = "0.3", optional = true }
[features]
default = ["blocking", "log"]
blocking = []
async = ["dep:embedded-hal-async"]
log = ["dep:log"]
defmt = ["dep:defmt"]