From f86db8a96e0eaa7d195632d9d3b287d7f7c82425 Mon Sep 17 00:00:00 2001 From: Douman Date: Thu, 19 Dec 2019 07:46:14 +0100 Subject: [PATCH] 0.16.1: Fix broken CLI app build --- Cargo.toml | 4 ++-- README.md | 9 ++++----- src/cli/main.rs | 2 +- 3 files changed, 7 insertions(+), 8 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 5f15475..42762a9 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "fie" -version = "0.16.0" +version = "0.16.1" authors = ["Douman "] repository = "https://github.com/DoumanAsh/fie" description = "Small and cute social media utility." @@ -26,7 +26,7 @@ features = ["wrap_help", "suggestions"] [dependencies.tokio] version = "0.2" default-features = false -features = ["rt-core", "macros"] +features = ["rt-core", "io-driver", "macros"] optional = true [dependencies] diff --git a/README.md b/README.md index e39ccac..1e47719 100644 --- a/README.md +++ b/README.md @@ -3,7 +3,7 @@ [![Build status](https://ci.appveyor.com/api/projects/status/oc937oppd38x1y4y/branch/master?svg=true)](https://ci.appveyor.com/project/DoumanAsh/fie/branch/master) [![Build Status](https://travis-ci.org/DoumanAsh/fie.svg?branch=master)](https://travis-ci.org/DoumanAsh/fie) [![Crates.io](https://img.shields.io/crates/v/fie.svg)](https://crates.io/crates/fie) -[![Dependency status](https://deps.rs/crate/fie/0.16.0/status.svg)](https://deps.rs/crate/fie) +[![Dependency status](https://deps.rs/crate/fie/0.16.1/status.svg)](https://deps.rs/crate/fie) Small and cute social media CLI. @@ -13,10 +13,9 @@ Small and cute social media CLI. ### Download links -* Windows [32bit](https://github.com/DoumanAsh/fie/releases/download/0.16.0/fie-0.16.0-i686-pc-windows-msvc.zip) -* Windows [64bit](https://github.com/DoumanAsh/fie/releases/download/0.16.0/fie-0.16.0-x86_64-pc-windows-msvc.zip) -* Linux [64bit](https://github.com/DoumanAsh/fie/releases/download/0.16.0/fie-0.16.0-x86_64-unknown-linux-gnu.zip) -* OSX [64bit](https://github.com/DoumanAsh/fie/releases/download/0.16.0/fie-0.16.0-x86_64-apple-darwin.zip) +* Windows [64bit](https://github.com/DoumanAsh/fie/releases/download/0.16.1/fie-0.16.1-x86_64-pc-windows-msvc.zip) +* Linux [64bit](https://github.com/DoumanAsh/fie/releases/download/0.16.1/fie-0.16.1-x86_64-unknown-linux-gnu.zip) +* OSX [64bit](https://github.com/DoumanAsh/fie/releases/download/0.16.1/fie-0.16.1-x86_64-apple-darwin.zip) ### Cargo diff --git a/src/cli/main.rs b/src/cli/main.rs index f28a9f4..5a495a7 100644 --- a/src/cli/main.rs +++ b/src/cli/main.rs @@ -98,7 +98,7 @@ fn use_twitter_builtin_consumer(twitter: &mut fie::config::Twitter) { #[inline(always)] fn runtime() -> tokio::runtime::Runtime { - tokio::runtime::Builder::new().basic_scheduler().build().expect("To create async runtime") + tokio::runtime::Builder::new().basic_scheduler().enable_io().build().expect("To create async runtime") } fn command_post(config: Config, post: cli::Post) -> io::Result<()> {