Commit Graph

6 Commits

Author SHA1 Message Date
Daniel Fox Franke cf5691fe2a Migrate to core::futures (#65)
* Migrate to core::futures

This drops all dependencies on the 'futures' crate, and upgrades to
hyper-0.13 and tokio-0.2. Methods that return futures now use
async/await.

Since hyper has removed hyper_run(), I have in turn removed the
HttpExporter::run() method. The user should just call async_run()
and spawn or await the result however they wish.

* Bump CI minimum rust to 1.39 for async/await

Co-authored-by: Toby Lawrence <tobz@users.noreply.github.com>
2020-01-14 23:11:42 -05:00
Ben Striegel 955bc0f265 Fix tests and update some dependencies (#53)
* fix: update docs and tests for controller/sink changes
* chore: remove hashbrown dep and update parking_lot version
* style: rustfmt
2019-10-18 09:11:23 -04:00
jean-airoldie 2f3e344705 Renamed metrics::Recorder & metrics-runtime::Sink methods (#47) 2019-08-14 10:17:41 -04:00
Toby Lawrence ed80f3307e
feature: add a JSON observer (#38) 2019-07-23 12:25:49 -04:00
jean-airoldie e614847de6 core: Recorder -> Observer (#35) 2019-07-17 09:06:45 -04:00
Toby Lawrence d459db8084
Add label support + rename crates. (#27) 2019-07-05 21:14:08 -04:00