-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Reduce how much code requires tokio_async to compile (#113)
Ideally, almost no code would have to care about async vs sync, or whether the executor is tokio or something else. This may be a impractical goal, but it would certainly be nice. I noticed that some bits of the sync module do not require tokio_async, and may be useful to me implementing a safe synchronous (from the Rust language feature perspective, anyway) version of BeginGetProperty et cetera (see issue #98 ). Whether such a sync API is useful to mssf_core, I'm not sure, but right now, my particular use case does not need tokio here, and it's a heavy dependency. Reorganize code to address some TODOs and increase how much of the code can compile without tokio.
- Loading branch information
1 parent
0f2e5e9
commit caf742a
Showing
6 changed files
with
290 additions
and
277 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
This file was deleted.
Oops, something went wrong.
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.