From f900d0952cb94c88b33f85e9885ae00d6e56cdb5 Mon Sep 17 00:00:00 2001 From: Jesse Luehrs Date: Sun, 27 Oct 2019 08:30:41 -0400 Subject: make tokio features optional --- Cargo.toml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'Cargo.toml') diff --git a/Cargo.toml b/Cargo.toml index 39d925f..739575e 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -12,6 +12,10 @@ keywords = ["ttyrec"] categories = ["parser-implementations"] [dependencies] -futures = "0.1.29" +futures = { version = "0.1.29", optional = true } snafu = "0.5" -tokio = "0.1.22" +tokio = { version = "0.1.22", optional = true } + +[features] +default = ["async"] +async = ["tokio", "futures"] -- cgit v1.2.3-54-g00ecf