stcc4 0.1.0

A Rust no-std driver for the Sensirion STCC4 CO2 sensor.
Documentation
# 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 = "2024"
name = "stcc4"
version = "0.1.0"
authors = ["Robert Wiewel <dev@ducktec.de>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A Rust no-std driver for the Sensirion STCC4 CO2 sensor."
documentation = "https://docs.rs/stcc4"
readme = "README.md"
keywords = [
    "stcc4",
    "co2",
    "sensor",
    "embedded",
    "no-std",
]
categories = [
    "embedded",
    "no-std",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/ducktec/stcc4-rs"

[package.metadata.docs.rs]
features = ["async"]

[features]
async = ["dep:embedded-hal-async"]
default = ["async"]
defmt = ["dep:defmt"]
serde = ["dep:serde"]

[lib]
name = "stcc4"
path = "src/lib.rs"

[dependencies.defmt]
version = "0.3.6"
optional = true

[dependencies.embedded-hal]
version = "1.0.0"

[dependencies.embedded-hal-async]
version = "1.0.0"
optional = true

[dependencies.serde]
version = "1.0.203"
features = ["derive"]
optional = true
default-features = false

[dev-dependencies.embedded-hal-mock]
version = "0.11.1"
features = ["eh1"]

[dev-dependencies.futures]
version = "0.3.30"