-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
42 lines (35 loc) · 973 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
[package]
name = "sds011-rs"
version = "0.5.0"
authors = ["Keno Hassler"]
edition = "2021"
rust-version = "1.81"
description = "A driver for the SDS011 particle sensor based on embedded-io."
repository = "https://github.com/kenohassler/sds011-rs"
license = "MIT OR Apache-2.0"
keywords = ["embedded-hal", "async"]
categories = ["embedded", "hardware-support", "no-std"]
[dependencies]
embedded-hal = "1.0"
embedded-hal-async = "1.0"
embedded-io = "0.6"
embedded-io-async = "0.6"
maybe-async = "0.2"
[dev-dependencies]
embedded-io-adapters = { version = "0.6", features = ["std", "tokio-1"] }
inquire = "0.7"
serialport = "4.5"
tokio-serial = "5.4"
tokio = { version = "1.40", features = ["macros", "time", "rt-multi-thread"] }
[features]
sync = ["maybe-async/is_sync"]
[lib]
name = "sds011"
path = "src/lib.rs"
[[example]]
name = "sds011-cli-async"
path = "examples/cli_async.rs"
[[example]]
name = "sds011-cli"
path = "examples/cli.rs"
required-features = ["sync"]