-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathCargo.toml
41 lines (37 loc) · 1.19 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
[package]
name = "bmp390"
version = "0.4.1"
edition = "2021"
authors = ["Adam Sasine <[email protected]>"]
description = "Asynchronous driver for the BMP390 pressure sensor"
homepage = "https://github.com/asasine/bmp390"
repository = "https://github.com/asasine/bmp390"
license = "MIT"
keywords = ["embedded-hal", "async", "pressure", "sensor"]
categories = ["aerospace", "embedded", "hardware-support", "no-std"]
[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]
[features]
embassy-time = ["dep:embassy-time"]
sync = ["dep:embedded-hal"]
[dependencies]
defmt = "0.3.8"
embedded-hal-async = "1.0.0"
embedded-hal = { version = "1.0.0", optional = true }
embassy-time = { version = "0.4.0", optional = true }
libm = "0.2.8"
uom = { version = "0.36.0", default-features = false, features = [
"f32",
"si",
"autoconvert",
] }
[dev-dependencies]
clap = { version = "4.5.26", features = ["derive"] }
defmt = { version = "0.3.8", features = ["unstable-test"] }
embedded-hal-mock = { version = "0.11.0", default-features = false, features = [
"eh1",
"embedded-hal-async",
] }
linux-embedded-hal = "0.4.0"
tokio = { version = "1.37.0", features = ["macros", "rt"] }