# 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 = "sgp30" version = "1.0.0" authors = ["Danilo Bargen "] build = false include = [ "**/*.rs", "Cargo.toml", "README.md", "CHANGELOG.md", "LICENSE-MIT", "LICENSE-APACHE", ] autobins = false autoexamples = false autotests = false autobenches = false description = "Platform agnostic Rust driver for the Sensirion SGP30 gas sensor." documentation = "https://docs.rs/sgp30" readme = "README.md" keywords = [ "sgp30", "sensirion", "driver", "tvoc", "embedded-hal-driver", ] categories = [ "embedded", "hardware-support", "no-std", ] license = "MIT OR Apache-2.0" repository = "https://github.com/dbrgn/sgp30-rs" [package.metadata.docs.rs] all-features = true rustdoc-args = [ "--cfg", "docsrs", ] [profile.release] lto = true [lib] name = "sgp30" path = "src/lib.rs" [[example]] name = "linux" path = "examples/linux.rs" [dependencies.byteorder] version = "1" default-features = false [dependencies.embedded-hal] version = "1" [dependencies.embedded-hal-async] version = "1" optional = true [dependencies.num-traits] version = "0.2" default-features = false [dependencies.sensirion-i2c] version = "0.4" [dev-dependencies.embedded-hal-mock] version = "0.11.1" features = [ "eh1", "embedded-hal-async", ] [dev-dependencies.futures-executor] version = "0.3.30" [dev-dependencies.linux-embedded-hal] version = "0.4" [features] default = [] embedded-hal-async = [ "dep:embedded-hal-async", "sensirion-i2c/embedded-hal-async", ]