tokio 1.0

This commit is contained in:
Robin Appelman 2021-01-07 00:43:28 +01:00
commit 812e0e051a

View file

@ -1,6 +1,6 @@
[package] [package]
name = "prometheus-edge-detector" name = "prometheus-edge-detector"
version = "0.1.0" version = "0.2.0"
authors = ["Robin Appelman <robin@icewind.nl>"] authors = ["Robin Appelman <robin@icewind.nl>"]
edition = "2018" edition = "2018"
description = "Find the most recent rising or dropping edge from a prometheus query" description = "Find the most recent rising or dropping edge from a prometheus query"
@ -8,14 +8,14 @@ license = "MIT OR Apache-2.0"
repository = "https://github.com/icewind1991/prometheus-edge-detector" repository = "https://github.com/icewind1991/prometheus-edge-detector"
[dependencies] [dependencies]
tokio = { version = "0.2.4", features = ["time"] } tokio = { version = "1.0", features = ["time"] }
err-derive = "0.2.1" err-derive = "0.2.1"
futures-util = "0.3.1" futures-util = "0.3.1"
reqwest = { version = "0.10.0", default-features = false, features = ["json"]} reqwest = { version = "0.11.0", default-features = false, features = ["json"]}
serde = { version = "1.0", features = ["derive"] } serde = { version = "1.0", features = ["derive"] }
[dev-dependencies] [dev-dependencies]
tokio = { version = "0.2.4", features = ["macros"] } tokio = { version = "1.0", features = ["macros"] }
main_error = "0.1.0" main_error = "0.1.0"
[features] [features]