An outdated Tokio runtime is required
When using the crate in a project which uses an up to date tokio crate, the program panics at runtime with:
thread 'main' panicked at 'not currently running on a Tokio 0.2.x runtime.
This happens early thanks to the CurrentUser call in AsyncGitlab::new_impl
.
Updating the dependencies to bytes 1.0 and reqwest 0.11 resolves the issue.