scd41-embedded 0.1.0

A platform-agnostic embedded-hal driver for the Sensirion SCD41 CO2/temperature/humidity sensor (with optional async support).
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 = "2021"
name = "scd41-embedded"
version = "0.1.0"
authors = ["Trevor Flahardy"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A platform-agnostic embedded-hal driver for the Sensirion SCD41 CO2/temperature/humidity sensor (with optional async support)."
readme = "README.md"
keywords = [
    "embedded-hal",
    "i2c",
    "sensirion",
    "scd41",
    "no-std",
]
categories = [
    "embedded",
    "hardware-support",
    "no-std",
]
license = "MIT"
repository = "https://github.com/trevorflahardy/scd41-embedded"

[features]
async = ["dep:embedded-hal-async"]

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

[[test]]
name = "async"
path = "tests/async.rs"

[[test]]
name = "sync"
path = "tests/sync.rs"

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

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

[dev-dependencies.embedded-hal-mock]
version = "0.11"
features = ["eh1"]
default-features = false

[dev-dependencies.tokio]
version = "1"
features = [
    "macros",
    "rt",
]

[profile.release]
lto = true