Closed xfbs closed 1 year ago
Cool! I didn’t know async trait was a thing yet. Would you mind splitting this PR in 2? So we can easily review first the code cleanup, then the async one?
For sure! Sounds like a good idea. I'll pull the refactoring out into a separate PR. Will also add some tests for the async stuff in here.
Also, this would need to PR against the dev
branch, not the release
one.
Ha! I did not even know there was a dev branch (used to PRing against master
with a stable
branch for the release, hehe).
Hey!
In reference to #110, this adds an optional
async
feature which, when enabled, enables theAsyncDependencyProvider
trait.This PR also cleans up the
resolver
code somewhat (I like it when code is not nested too deeply, as it makes it easier for me to follow).