Repository: yoshuawuyts/clap_flags (language: rust)

Issue:
Update env_logger requirement from 0.6.1 to 0.7.1
Updates the requirements on [env_logger](https://github.com/sebasmagri/env_logger) to permit the latest version.
<details>
<summary>Release notes</summary>

*Sourced from [env_logger's releases](https://github.com/sebasmagri/env_logger/releases).*

> ## 0.7.1
> # Key Changes
> 
> - More thread-local durability
> 
> # Contributions
> 
> - [@&#8203;divergentdave](https://github.com/divergentdave) [Thread local fallback](https://github-redirect.dependabot.com/sebasmagri/env_logger/pull/146)
</details>
<details>
<summary>Commits</summary>

- [`68a1700`](https://github.com/sebasmagri/env_logger/commit/68a170094649c48c6ce7471acf3a33fd2799541c) Merge pull request [#147](https://github-redirect.dependabot.com/sebasmagri/env_logger/issues/147) from KodrAus/cargo/0.7.1
- [`e4a203b`](https://github.com/sebasmagri/env_logger/commit/e4a203bcb51f3fc6f0003b42520302fd4888a481) prepare for 0.7.1 release
- [`87496cf`](https://github.com/sebasmagri/env_logger/commit/87496cfd5e52bad49fbd1f472fe7ed25e4208702) Merge pull request [#146](https://github-redirect.dependabot.com/sebasmagri/env_logger/issues/146) from divergentdave/thread-local-fallback
- [`ecfc941`](https://github.com/sebasmagri/env_logger/commit/ecfc941640f87aebcdb21a0622c319c5f29864fe) Refactor log()
- [`477f68f`](https://github.com/sebasmagri/env_logger/commit/477f68fae377717fbdc781ac8177df1c4c8dd945) Add a fallback for when TLS is unavailable
- [`29b9830`](https://github.com/sebasmagri/env_logger/commit/29b98302613bce36a92acba464502d613b9b1034) Add failing test of log statement during TLS dtors
- [`424f031`](https://github.com/sebasmagri/env_logger/commit/424f03167401b0cff8f3da8424adc3dc1e7683d0) Merge pull request [#143](https://github-redirect.dependabot.com/sebasmagri/env_logger/issues/143) from KodrAus/cargo/0.7.0
- [`058655e`](https://github.com/sebasmagri/env_logger/commit/058655eb6875414debae568c0346038eca83c1fe) prepare for 0.7.0 release
- [`bfac641`](https://github.com/sebasmagri/env_logger/commit/bfac6411adb05b7587b5de4acea0d5c3044ef029) Merge pull request [#142](https://github-redirect.dependabot.com/sebasmagri/env_logger/issues/142) from KodrAus/feat/2018
- [`ef10fa5`](https://github.com/sebasmagri/env_logger/commit/ef10fa512ab253ca86cbb9f8f95731b64aadf323) use specific log version
- Additional commits viewable in [compare view](https://github.com/sebasmagri/env_logger/compare/v0.6.1...v0.7.1)
</details>
<br />

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
- `@dependabot use these labels` will set the current labels as the default for future PRs for this repo and language
- `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language
- `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language
- `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language
- `@dependabot badge me` will comment on this PR with code to add a "Dependabot enabled" badge to your readme

Additionally, you can set the following in your Dependabot [dashboard](https://app.dependabot.com):
- Update frequency (including time of day and day of week)
- Pull request limits (per update run and/or open at any time)
- Automerge options (never/patch/minor, and dev/runtime dependencies)
- Out-of-range updates (receive only lockfile updates, if desired)
- Security updates (receive only security updates, if desired)



</details>


Discussion / hints:

Fix patch:
diff --git a/.travis.yml b/.travis.yml
index 56d82a9..7d0438e 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -1,13 +1,13 @@
 language: rust
 rust:
-  - nightly
+  - stable
 
 before_script: |
-  rustup component add rustfmt-preview &&
-  cargo install clippy -f
+  rustup component add rustfmt &&
+  rustup component add clippy
 script: |
   cargo fmt -- --check &&
-  cargo clippy -- -D clippy &&
+  cargo clippy -- -D clippy::all &&
   cargo build --verbose &&
   cargo test  --verbose
 cache: cargo
diff --git a/Cargo.toml b/Cargo.toml
index 746c94c..828eff4 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -10,16 +10,16 @@ readme = "README.md"
 edition = "2018"
 
 [dependencies]
-log = "0.4.4"
-structopt = "0.2.10"
-env_logger = "0.6.1"
-pretty_env_logger = "0.3.0"
+log = "0.4.8"
+structopt = "0.3.9"
+env_logger = "0.7.1"
+pretty_env_logger = "0.4.0"
 
 [dev-dependencies]
-structopt = "0.2.10"
-log = "0.4.3"
-futures = "0.1.23"
+structopt = "0.3.9"
+log = "0.4.8"
+futures = "0.3.4"
 paw-structopt = "1.0.0"
 paw = "1.0.0"
-runtime = "0.3.0-alpha.4"
-tide = "0.2.0"
+async-std = { version = "1.5.0", features = ["attributes"] }
+tide = "0.6.0"
diff --git a/README.md b/README.md
index 74d9882..be687c9 100644
--- a/README.md
+++ b/README.md
@@ -9,8 +9,6 @@ Collection of reusable flags for Clap.
 
 ## Usage
 ```rust
-#![feature(async_await)]
-
 #[derive(structopt::StructOpt, paw_structopt::StructOpt)]
 #[structopt(author = "", raw(setting = "structopt::clap::AppSettings::ColoredHelp"))]
 struct Args {
@@ -22,13 +20,13 @@ struct Args {
     port: clap_flags::Port,
 }
 
-#[runtime::main]
+#[async_std::main]
 #[paw::main]
 async fn main(args: Args) -> Result<(), Box<dyn std::error::Error + Send + Sync + 'static>> {
     args.logger.start(env!("CARGO_PKG_NAME"))?;
-    let mut app = tide::App::new(());
+    let mut app = tide::new();
     app.at("/").get(async move |_| "Hello, world!");
-    app.serve((&*args.address.address, args.port.port))?;
+    app.listen((&*args.address.address, args.port.port)).await?;
     Ok(())
 }
 ```
diff --git a/examples/main.rs b/examples/main.rs
index 378e92a..70573ed 100644
--- a/examples/main.rs
+++ b/examples/main.rs
@@ -1,7 +1,5 @@
-#![feature(async_await)]
-
 #[derive(structopt::StructOpt, paw_structopt::StructOpt)]
-#[structopt(author = "", raw(setting = "structopt::clap::AppSettings::ColoredHelp"))]
+#[structopt(setting = structopt::clap::AppSettings::ColoredHelp)]
 struct Args {
     #[structopt(flatten)]
     address: clap_flags::Address,
@@ -11,12 +9,12 @@ struct Args {
     port: clap_flags::Port,
 }
 
-#[runtime::main]
+#[async_std::main]
 #[paw::main]
 async fn main(args: Args) -> Result<(), Box<dyn std::error::Error + Send + Sync + 'static>> {
     args.logger.start(env!("CARGO_PKG_NAME"))?;
-    let mut app = tide::App::new(());
-    app.at("/").get(async move |_| "Hello, world!");
-    app.serve((&*args.address.address, args.port.port))?;
+    let mut app = tide::new();
+    app.at("/").get(|_| async move { "Hello, world!" });
+    app.listen((&*args.address.address, args.port.port)).await?;
     Ok(())
 }
diff --git a/src/lib.rs b/src/lib.rs
index 4b1717a..94a6c20 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -2,10 +2,9 @@
 //!
 //! ## Examples
 //! ```no_run
-//! #![feature(async_await)]
 //!
 //! #[derive(structopt::StructOpt, paw_structopt::StructOpt)]
-//! #[structopt(author = "", raw(setting = "structopt::clap::AppSettings::ColoredHelp"))]
+//! #[structopt(setting = structopt::clap::AppSettings::ColoredHelp)]
 //! struct Args {
 //!     #[structopt(flatten)]
 //!     address: clap_flags::Address,
@@ -15,13 +14,13 @@
 //!     port: clap_flags::Port,
 //! }
 //!
-//! #[runtime::main]
+//! #[async_std::main]
 //! #[paw::main]
 //! async fn main(args: Args) -> Result<(), Box<dyn std::error::Error + Send + Sync + 'static>> {
 //!     args.logger.start(env!("CARGO_PKG_NAME"))?;
-//!     let mut app = tide::App::new(());
-//!     app.at("/").get(async move |_| "Hello, world!");
-//!     app.serve((&*args.address.address, args.port.port))?;
+//!     let mut app = tide::new();
+//!     app.at("/").get(|_| async move { "Hello, world!" });
+//!     app.listen((&*args.address.address, args.port.port)).await?;
 //!     Ok(())
 //! }
 //! ```
@@ -54,9 +53,9 @@
 #![cfg_attr(test, deny(warnings))]
 
 mod address;
-mod port;
 mod log;
+mod port;
 
+pub use crate::log::*;
 pub use address::*;
 pub use port::*;
-pub use crate::log::*;


Test patch: