-
Notifications
You must be signed in to change notification settings - Fork 7
/
Cargo.toml
44 lines (37 loc) · 990 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
37
38
39
40
41
42
43
44
[package]
authors = ["Pietro Lorefice <[email protected]>"]
categories = ["embedded", "hardware-support", "no-std"]
description = "Platform-agnostic Rust driver for the DHT11 temperature and humidity sensor."
edition = "2018"
homepage = "https://github.com/plorefice/dht11-rs"
keywords = ["embedded-hal-driver"]
include = [
"**/*.rs",
"Cargo.toml",
]
license = "MIT OR Apache-2.0"
name = "dht11"
readme = "README.md"
repository = "https://github.com/plorefice/dht11-rs"
version = "0.3.1"
[dependencies]
embedded-hal = { version = "0.2", features = ["unproven"] }
cortex-m = { version = "0.6", optional = true }
[dev-dependencies]
cortex-m = "0.6"
cortex-m-rt = "0.6"
cortex-m-semihosting = "0.3"
panic-semihosting = "0.5"
[dev-dependencies.stm32f4xx-hal]
version = "0.8"
features = ["rt", "stm32f407"]
[features]
default = []
dwt = ["cortex-m"]
[[example]]
name = "stm32f407"
[[example]]
name = "stm32f407-dwt"
required-features = ["dwt"]
[profile.release]
lto = true