diff --git a/README.md b/README.md index 109c21b..265b3e2 100644 --- a/README.md +++ b/README.md @@ -2,6 +2,8 @@ ## tokio-i3ipc +**Now with tokio 1.0 support!** Use version 0.12.0 and up for tokio 1.0 + [![Build Status](https://github.com/leshow/tokio-i3ipc/workflows/Actions/badge.svg)](https://github.com/leshow/tokio-i3ipc/actions) [![Crate](https://img.shields.io/crates/v/tokio-i3ipc.svg)](https://crates.io/crates/tokio-i3ipc) [![API](https://docs.rs/tokio-i3ipc/badge.svg)](https://docs.rs/tokio-i3ipc) diff --git a/async-i3ipc/Cargo.toml b/async-i3ipc/Cargo.toml index 487a024..8e4b7b2 100644 --- a/async-i3ipc/Cargo.toml +++ b/async-i3ipc/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "async-i3ipc" -version = "0.2.0" +version = "0.3.0" authors = ["Evan Cameron "] edition = "2018" description = """ diff --git a/async-i3ipc/src/lib.rs b/async-i3ipc/src/lib.rs index 461666f..e69b556 100644 --- a/async-i3ipc/src/lib.rs +++ b/async-i3ipc/src/lib.rs @@ -1,4 +1,4 @@ -#![doc(html_root_url = "https://docs.rs/async-i3ipc/0.2.0")] +#![doc(html_root_url = "https://docs.rs/async-i3ipc/0.3.0")] //! # async-i3ipc //! //! This crate provides types and functions for working with i3's IPC protocol diff --git a/tokio-i3ipc/Cargo.toml b/tokio-i3ipc/Cargo.toml index 4e98c56..9841584 100644 --- a/tokio-i3ipc/Cargo.toml +++ b/tokio-i3ipc/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "tokio-i3ipc" -version = "0.11.0" +version = "0.12.0" authors = ["Evan Cameron "] edition = "2018" description = """ diff --git a/tokio-i3ipc/README.md b/tokio-i3ipc/README.md index 39560ad..a5d52cb 100644 --- a/tokio-i3ipc/README.md +++ b/tokio-i3ipc/README.md @@ -1,5 +1,7 @@ # tokio-i3ipc +**Now with tokio 1.0 support!** Use version 0.12.0 and up for tokio 1.0 + ![Build Status](https://github.com/leshow/tokio-i3ipc/workflows/.github/workflows/actions.yml/badge.svg) [![Crate](https://img.shields.io/crates/v/tokio-i3ipc.svg)](https://crates.io/crates/tokio-i3ipc) [![API](https://docs.rs/tokio-i3ipc/badge.svg)](https://docs.rs/tokio-i3ipc) diff --git a/tokio-i3ipc/src/lib.rs b/tokio-i3ipc/src/lib.rs index 75874cc..6245564 100644 --- a/tokio-i3ipc/src/lib.rs +++ b/tokio-i3ipc/src/lib.rs @@ -1,4 +1,4 @@ -#![doc(html_root_url = "https://docs.rs/tokio-i3ipc/0.11.0")] +#![doc(html_root_url = "https://docs.rs/tokio-i3ipc/0.12.0")] //! # tokio-i3ipc //! //! This crate provides types and functions for working with i3's IPC protocol @@ -17,7 +17,7 @@ //! # use std::io; //! use tokio_i3ipc::{event::{Event,Subscribe}, I3}; //! -//! #[tokio::main] +//! #[tokio::main(flavor = "current_thread")] //! async fn main() -> io::Result<()> { //! let mut i3 = I3::connect().await?; //! i3.subscribe([Subscribe::Window]).await?; @@ -49,7 +49,7 @@ //! //! use tokio_i3ipc::{reply, I3}; //! -//! #[tokio::main] +//! #[tokio::main(flavor = "current_thread")] //! async fn main() -> io::Result<()> { //! let mut i3 = I3::connect().await?; //! // this type can be inferred, here is written explicitly: @@ -66,7 +66,7 @@ //! # use std::io; //! use tokio_i3ipc::{msg, reply, MsgResponse, I3}; //! -//! #[tokio::main] +//! #[tokio::main(flavor = "current_thread")] //! # async fn main() -> io::Result<()> { //! let mut i3 = I3::connect().await?; //! // send msg RunCommand with a payload