Implement Runtime and Executor in iced_core
They can be leveraged by shells to easily execute commands and track subscriptions.
This commit is contained in:
parent
32f7ca261f
commit
d50ff9b5d9
5 changed files with 97 additions and 4 deletions
|
|
@ -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 }
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue