Skip to content

Commit

Permalink
build: Add categories to Cargo.toml, badges to README
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelbeaumont committed Jan 11, 2020
1 parent bd9abba commit 4a2e7e1
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@ name = "dht-sensor"
version = "0.1.0"
description = "Driver for the DHT11/DHT22 sensor based on embedded-hal"
authors = ["Michael Beaumont <[email protected]>"]
keywords = ["embedded", "sensor", "humidity", "temperature", "embedded-hal-driver", "dht11", "dht22"]
keywords = ["embedded", "sensor", "humidity", "temperature", "embedded-hal-driver"]
categories = ["embedded", "no-std", "hardware-support"]
edition = "2018"
readme = "README.md"
license = "MIT"
repository = "https://github.com/michaelbeaumont/dht-sensor"
homepage = "https://github.com/michaelbeaumont/dht-sensor"

[dependencies]
embedded-hal = "0.2.3"
Expand Down
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
# DHT11/DHT22 sensor driver

[![crates.io](https://img.shields.io/crates/v/dht-sensor)](https://crates.io/crates/dht-sensor)
[![Docs](https://docs.rs/dht-sensor/badge.svg)](https://docs.rs/dht-sensor)

This library provides a platform-agnostic driver for the [DHT11 and DHT22](https://learn.adafruit.com/dht/overview) sensors.

Use one of two functions `dht11::Reading::read` and `dht22::Reading::read` to get a reading.
Expand Down

0 comments on commit 4a2e7e1

Please sign in to comment.