This is a Rust client for Warp10 Geo/time series DB

Crates.io LICENSE

Features

At the moment, we support writing to warp10.

Reading support should come at some point.

Example

```rust extern crate time; extern crate warp10;

fn warp10post() -> std::result::Result { let client = warp10::Client::new("http://localhost:8080/")?; let writer = client.getwriter("mywritetoken".tostring()); let res = writer.post(vec![ warp10::Data::new( time::nowutc().totimespec(), Some(warp10::GeoValue::new(42.66, 62.18, Some(10))), "test data name 2".tostring(), vec![ warp10::Label::new("label 1 name", "label 1 value"), warp10::Label::new("label 2 name", "label 2 value") ], warp10::Value::String("Test warp10 awesome value".to_string()) ) ])?; Ok(res) }

fn main() { println!("{:?}", warp10_post()); } ```