[dependencies.embedded-hal]
version = "1.0"
[dependencies.fixed]
version = "1"
[dependencies.sensirion-i2c]
version = "0.4"
[dev-dependencies.embedded-hal-mock]
features = ["eh1"]
version = "0.11"
[dev-dependencies.linux-embedded-hal]
version = "0.4"
[[example]]
name = "main"
path = "examples/main.rs"
[features]
default = ["voc_index"]
voc_index = []
[lib]
name = "sgp40"
path = "src/lib.rs"
[package]
authors = ["Mikko Jaakkola <mikko.la.jaakkola@gmail.com>"]
autobenches = false
autobins = false
autoexamples = false
autolib = false
autotests = false
build = false
categories = ["embedded", "hardware-support", "no-std"]
description = "Rust driver for the Sensirion SGP40 gas sensor."
edition = "2024"
keywords = ["sgp40", "sensirion", "driver", "voc", "embedded-hal-driver"]
license = "MIT OR Apache-2.0"
name = "sgp40"
readme = "README.md"
repository = "https://github.com/mjaakkol/sgp40-rs"
version = "1.0.0"
[profile.release]
lto = true