diff options
author | Daniel Schadt <kingdread@gmx.de> | 2020-11-13 15:20:09 +0100 |
---|---|---|
committer | Daniel Schadt <kingdread@gmx.de> | 2020-11-13 15:20:09 +0100 |
commit | 27e68e4b0d6b6bf3d05166e6d6a68d56ff5a0704 (patch) | |
tree | ec8446eeabc6c5d7392cae4785b6a61608c3ac19 /src/config.rs | |
parent | 600f41c4e7e4ceaa5814554ff44abbfa18854a79 (diff) | |
download | ezau-27e68e4b0d6b6bf3d05166e6d6a68d56ff5a0704.tar.gz ezau-27e68e4b0d6b6bf3d05166e6d6a68d56ff5a0704.tar.bz2 ezau-27e68e4b0d6b6bf3d05166e6d6a68d56ff5a0704.zip |
update dependencies
This is a bit bigger than usual, because it brings the serenity update
from 0.8.x to 0.9 with a lot of API changes. The biggest offender is the
new async environment, which means that we need to sprinkle some .awaits
here and there, as well as use tokio to spawn a runtime. Serenity
currently uses tokio 0.2, so we need to stick to the older version until
serenity updates, otherwise we'll get a runtime mismatch.
Another small change comes from serenity switching to typemap_rev[1]
instead of their old implementation, which is currently still missing
some methods. Until those are implemented[2], we're patching the
dependency directly.
The good news is that all of the changes are pretty much contained to
src/discord.rs only, as the other parts of ezau could stay untouched.
[1]: https://github.com/bdashore3/typemap_rev
[2]: https://github.com/bdashore3/typemap_rev/pull/1
Diffstat (limited to 'src/config.rs')
0 files changed, 0 insertions, 0 deletions