-
Notifications
You must be signed in to change notification settings - Fork 2
/
Cargo.toml
51 lines (41 loc) · 1.21 KB
/
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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
[package]
name = "adxl355"
edition = "2018"
authors = ["Jitter"]
description = "A platform agnostic driver to interface with the ADXL355 (accelerometer) through SPI"
documentation = "https://docs.rs/adxl355"
keywords = ["embedded-hal-driver", "accelerometer", "MEMS", "analog-devices"]
license = "MIT OR Apache-2.0"
repository = "https://github.com/JitterCompany/adxl355-rs"
categories = ["embedded", "hardware-support", "no-std"]
version = "0.2.3"
readme = "README.md"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[package.metadata.docs.rs]
all-features = true
default-target = "x86_64-unknown-linux-gnu"
[dependencies]
embedded-hal = "0.2.3"
accelerometer = "0.11.0"
[dev-dependencies]
cortex-m = "0.6.2"
cortex-m-rt = "0.6.12"
panic-halt = "0.2.0"
[target.thumbv7m-none-eabi.dev-dependencies.stm32f1xx-hal]
features = ["stm32f103", "rt"]
version = "0.5.3"
[target.thumbv6m-none-eabi.dev-dependencies.stm32g0xx-hal]
features = ["stm32g07x", "rt"]
version = "0.0.7"
[[example]]
name = "stm32g070"
required-features = ["stm32g070"]
[[example]]
name = "blackpill"
required-features = ["stm32f103"]
[features]
stm32g070 = []
stm32f103 = []
[profile.dev]
opt-level = 1
debug = true