senstate

Crates.iosenstate
lib.rssenstate
version0.0.1
sourcesrc
created_at2019-10-16 12:54:44.438363
updated_at2019-10-16 12:54:44.438363
descriptionClient library to communicate with Senstate, a debugging dashboard
homepagehttps://github.com/dnaka91/senstate-rs
repositoryhttps://github.com/dnaka91/senstate-rs
max_upload_size
id172992
size95,781
Dominik Nakamura (dnaka91)

documentation

README

Senstate - Rust client

Rust 🦀 client library to communicate with Senstate, a debugging dashboard.

This library is in very early stages and considered experimental. Therefore it should not be used in any production level applications. Expect this crate's API to change frequently.

Usage

Add this to your Cargo.toml:

[dependencies]
senstate = "0.0.1"

Examples

Currently a few simple examples exist. Please find them in the examples folder or directly run them with cargo run --example <example-name>.

  • simple: This basic sample creates a new client, adds a watcher for each value type and then reports values periodically to Senstate.

  • multithreaded: A sample using multiple threads to report values individually.

  • stresstest: Meant as a stress test to try out the speed of Senstate and the most complex example so far. It can be configured with CLI arguments to try different workloads.

Commit count: 0

cargo fmt