forked from VersBinarii/bme280-rs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
42 lines (36 loc) · 1.18 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
[package]
name = "bme280"
version = "0.4.4"
authors = ["Sean Bruton <sean@uberfoo.net>"]
description = "A rust device driver for the Bosch BME280 temperature, humidity, and atmospheric pressure sensor and the Bosch BMP280 temperature, and atmospheric pressure sensor"
repository = "https://github.com/VersBinarii/bme280-rs"
license = "MIT OR Apache-2.0"
keywords = ["bme280", "bmp280", "temperature", "pressure", "humidity"]
categories = ["embedded", "no-std", "hardware-support", "embedded-hal"]
edition = "2018"
[lib]
name = "bme280"
[dependencies]
embedded-hal = "=1.0.0-alpha.8"
serde = { version = "1.0", optional = true, features = ["derive"] }
defmt = { version = "0.3.2", optional = true }
derive_more = { version = "0.99.17", optional = true}
embedded-hal-async = { version = "0.1.0-alpha.1", optional = true }
maybe-async-cfg = "0.2.3"
[dev-dependencies]
cortex-m-rtic = "1.0.0"
cortex-m = "0.7.3"
cortex-m-rt = "0.7.0"
defmt-rtt = "0.3.0"
panic-semihosting = "0.6"
[dev-dependencies.stm32f4xx-hal]
version = "0.13.2"
features = ["stm32f411"]
[features]
default = ["sync"]
with_defmt = ["defmt"]
with_std = ["derive_more"]
sync = []
async = ["embedded-hal-async"]
[[example]]
name = "rtic"