ruuvi-sensor-protocol

Crates.ioruuvi-sensor-protocol
lib.rsruuvi-sensor-protocol
version0.6.1
sourcesrc
created_at2018-08-08 21:15:35.493524
updated_at2022-09-11 19:12:48.948205
descriptionRuuvi sensor protocol parser implementation
homepage
repositoryhttps://github.com/lautat/ruuvi-sensor-protocol-rs
max_upload_size
id78425
size53,604
Atte Lautanala (lautat)

documentation

README

ruuvi-sensor-protocol-rs Crates.io Docs.rs Crates.io

Ruuvi sensor protocol parser implementation

Requirements

  • Rust >= 1.60
    • This crate can be compiled without std by disabling default features

Crate Features

  • std (default) enables features that depend on std crate
  • gateway adds parsers for Ruuvi Gateway payload formats, adds hex, serde and serde_json dependencies and requires alloc crate from the standard library

Documentation

Docs are available online at docs.rs. They can be built from source with cargo doc. Examples are included in the docs.

Changes

0.6.1

  • Build documentation with all features for docs.rs

0.6.0

  • Requires 2021 Edition (Rust >= 1.60)
  • Support for parsing Ruuvi Gateway MQTT message payloads
    • It is disabled by default, but can be enabled with gateway feature

0.5.0

  • Requires Rust >= 1.48
  • Adds Clone trait for SensorValues and ParseError
  • Use AsRef<[u8]> as type bound for value in from_manufacturer_specific_data

0.4.1

  • Corrected ZERO_CELSIUS_IN_MILLIKELVINS constant

0.4.0

0.3.0

  • Requires 2018 Edition (Rust >= 1.31)
  • Adds option to compile without std create

License

This project is licensed under MIT license.

Commit count: 175

cargo fmt