From 32f7ca261f0655938ae7c8919599b020ddea8ff8 Mon Sep 17 00:00:00 2001 From: Héctor Ramón Jiménez Date: Sun, 19 Jan 2020 08:36:44 +0100 Subject: Implement `subscription::Tracker` in `iced_core` --- core/Cargo.toml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'core/Cargo.toml') diff --git a/core/Cargo.toml b/core/Cargo.toml index 0a8fd8ef..4e019ba9 100644 --- a/core/Cargo.toml +++ b/core/Cargo.toml @@ -11,7 +11,8 @@ repository = "https://github.com/hecrj/iced" # Exposes a future-based `Command` type command = ["futures"] # Exposes a future-based `Subscription` type -subscription = ["futures"] +subscription = ["futures", "log"] [dependencies] futures = { version = "0.3", optional = true } +log = { version = "0.4", optional = true } -- cgit From d50ff9b5d97d9c3d6c6c70a9b4efe764b6126c86 Mon Sep 17 00:00:00 2001 From: Héctor Ramón Jiménez Date: Sun, 19 Jan 2020 09:06:48 +0100 Subject: Implement `Runtime` and `Executor` in `iced_core` They can be leveraged by shells to easily execute commands and track subscriptions. --- core/Cargo.toml | 2 ++ 1 file changed, 2 insertions(+) (limited to 'core/Cargo.toml') diff --git a/core/Cargo.toml b/core/Cargo.toml index 4e019ba9..5e1a5532 100644 --- a/core/Cargo.toml +++ b/core/Cargo.toml @@ -12,6 +12,8 @@ repository = "https://github.com/hecrj/iced" command = ["futures"] # Exposes a future-based `Subscription` type subscription = ["futures", "log"] +# Exposes a `runtime` module meant to abstract over different future executors +runtime = ["command", "subscription"] [dependencies] futures = { version = "0.3", optional = true } -- cgit From b5b17ed4d800c03beb3ad535d1069a7784e8dc1d Mon Sep 17 00:00:00 2001 From: Héctor Ramón Jiménez Date: Sun, 19 Jan 2020 10:17:08 +0100 Subject: Create `iced_futures` and wire everything up --- core/Cargo.toml | 10 ---------- 1 file changed, 10 deletions(-) (limited to 'core/Cargo.toml') diff --git a/core/Cargo.toml b/core/Cargo.toml index 5e1a5532..22bc7ceb 100644 --- a/core/Cargo.toml +++ b/core/Cargo.toml @@ -7,14 +7,4 @@ description = "The essential concepts of Iced" license = "MIT" repository = "https://github.com/hecrj/iced" -[features] -# Exposes a future-based `Command` type -command = ["futures"] -# Exposes a future-based `Subscription` type -subscription = ["futures", "log"] -# Exposes a `runtime` module meant to abstract over different future executors -runtime = ["command", "subscription"] - [dependencies] -futures = { version = "0.3", optional = true } -log = { version = "0.4", optional = true } -- cgit