-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Feature: featrue flag
monoio
enables monoio as runtime
`async-entry = { features = ["monoio"] }` for using `monoio` as the async runtime. It produces a runtime such as: ``` let mut rt = monoio::RuntimeBuilder::<monoio::FusionDriver>::new() .enable_all() .build() .expect("Failed building the Runtime"); rt.block_on(body); ``` To use the default tokio runtime, add async-entry with `features = ["tokio"]` or `features = []`. When using `monoio` runtime: `flavor`, `worker_threads` and `start_paused` are ignored.
1 parent
9fbfa83
commit 7da5496
Showing
15 changed files
with
1,490 additions
and
109 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,7 @@ | ||
[workspace] | ||
|
||
resolver = "1" | ||
|
||
members = [ | ||
"async-entry", | ||
"test-async-entry", | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.