From d7c303dda4750a432478c94b3ed41bca1352d839 Mon Sep 17 00:00:00 2001 From: Akshay Date: Thu, 23 Jul 2020 23:06:22 +0530 Subject: enable feature based compilation to support windows --- Cargo.toml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'Cargo.toml') diff --git a/Cargo.toml b/Cargo.toml index f4a31c9..6443a4b 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -23,7 +23,10 @@ notify = "4.0" [dependencies.cursive] version = "0.15" default-features = false -features = ["termion-backend", "crossterm-backend"] + +[features] +unix = ["cursive/termion-backend"] +windows = ["cursive/crossterm-backend"] [dependencies.chrono] version = "0.4" -- cgit v1.2.3