diff --git a/.travis.yml b/.travis.yml
index 7de78c8..171cfbb 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -29,6 +29,7 @@ rust:
- stable
- beta
- nightly
+ - 1.39.0
matrix:
fast_finish: true
@@ -37,8 +38,8 @@ matrix:
- rust: stable
env: NAME='linting'
before_script:
- - rustup component add rustfmt-preview
- - rustup component add clippy-preview
+ - rustup component add rustfmt
+ - rustup component add clippy
script:
- cargo fmt --all -- --check
- cargo clippy --all-targets --all-features -- -D warnings
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 1a41798..557a5e1 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
## [Unreleased]
+### Changed
+
+- Rewrite to `async` / `await`. Rust 1.39 is now the minimum required Rust version.
+
## [0.0.5] - 2019-08-16
This release removes the prefix `InfluxDb` of most types in this library and reexports the types under the `influxdb::` path. In most cases, you can directly use the types now: e.g. `influxdb::Client` vs `influxdb::client::InfluxDbClient`.
diff --git a/Cargo.toml b/Cargo.toml
index 2b2b74d..ce24b1b 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -14,15 +14,17 @@ repository = "https://github.com/Empty2k12/influxdb-rust"
travis-ci = { repository = "Empty2k12/influxdb-rust", branch = "master" }
[dependencies]
-reqwest = "0.9.17"
-futures = "0.1.27"
-tokio = "0.1.20"
+chrono = { version = "0.4.9", optional = true }
failure = "0.1.5"
-serde = { version = "1.0.92", optional = true }
+futures = "0.3.1"
+reqwest = { version = "0.10", features = ["json"] }
+serde = { version = "1.0.92", features = ["derive"], optional = true }
serde_json = { version = "1.0", optional = true }
-chrono = { version = "0.4.9", optional = true }
[features]
use-serde = ["serde", "serde_json"]
chrono_timestamps = ["chrono"]
default = ["use-serde"]
+
+[dev-dependencies]
+tokio = { version = "0.2", features = ["macros"] }
diff --git a/README.md b/README.md
index 91d8309..b196c83 100644
--- a/README.md
+++ b/README.md
@@ -22,6 +22,9 @@
+
+
+