# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO # # When uploading crates to the registry Cargo will automatically # "normalize" Cargo.toml files for maximal compatibility # with all versions of Cargo and also rewrite `path` dependencies # to registry (e.g., crates.io) dependencies. # # If you are reading this file be aware that the original Cargo.toml # will likely look very different (and much more reasonable). # See Cargo.toml.orig for the original contents. [package] edition = "2021" rust-version = "1.81" name = "sds011-rs" version = "0.5.0" authors = ["Keno Hassler"] build = false autobins = false autoexamples = false autotests = false autobenches = false description = "A driver for the SDS011 particle sensor based on embedded-io." readme = "README.md" keywords = [ "embedded-hal", "async", ] categories = [ "embedded", "hardware-support", "no-std", ] license = "MIT OR Apache-2.0" repository = "https://github.com/kenohassler/sds011-rs" [lib] name = "sds011" path = "src/lib.rs" [[example]] name = "sds011-cli" path = "examples/cli.rs" required-features = ["sync"] [[example]] name = "sds011-cli-async" path = "examples/cli_async.rs" [dependencies.embedded-hal] version = "1.0" [dependencies.embedded-hal-async] version = "1.0" [dependencies.embedded-io] version = "0.6" [dependencies.embedded-io-async] version = "0.6" [dependencies.maybe-async] version = "0.2" [dev-dependencies.embedded-io-adapters] version = "0.6" features = [ "std", "tokio-1", ] [dev-dependencies.inquire] version = "0.7" [dev-dependencies.serialport] version = "4.5" [dev-dependencies.tokio] version = "1.40" features = [ "macros", "time", "rt-multi-thread", ] [dev-dependencies.tokio-serial] version = "5.4" [features] sync = ["maybe-async/is_sync"]