Closed ssadler closed 2 years ago
You are using Rocket's master branch, not the creates.io version (for which the current version is made).
So you have to use Rockets version from create.io (not git, there are some small differences) OR @ThouCheese recently made a fork that works on Rockets master branch: https://github.com/ThouCheese/okapi
But note that you would have to use the same version everywhere (both Rocket and Okapi to avoid conflicts like these), this is important when using more then 1 crate with these dependencies (usually only for bigger projects).
Oh right, makes sense. Thanks for the quick reply, hope this might help someone else Googling.
Hi, I'm trying to set up rocket_okapi in my project and getting some errors:
And this one which is not a missing instance, I think it has to do with using
#[macro_use] extern crate rocket;
:Package versions:
Thanks...