dbrgn / shtcx-rs

Platform agnostic Rust driver for the Sensirion SHTCx temperature/humidity sensors.
Apache License 2.0
13 stars 4 forks source link

Expose MeasurementDuration trait #23

Closed dbrgn closed 4 years ago

dbrgn commented 4 years ago

This can be useful when using the async API.

Fixes #22.

dbrgn commented 4 years ago

@rnestler ping

codecov[bot] commented 4 years ago

Codecov Report

Merging #23 into master will increase coverage by 1.58%. The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master      #23      +/-   ##
==========================================
+ Coverage   86.57%   88.15%   +1.58%     
==========================================
  Files           3        3              
  Lines         134      135       +1     
==========================================
+ Hits          116      119       +3     
+ Misses         18       16       -2     
Impacted Files Coverage Δ
src/lib.rs 85.59% <100.00%> (+1.95%) :arrow_up: