tvallotton / rocket_auth

An implementation for an authentication API for Rocket applications.
https://docs.rs/rocket_auth/
Apache License 2.0
73 stars 35 forks source link

Update Rocket, sqlx, and rusqlite dependencies. #70

Open pjantrania opened 4 months ago

pjantrania commented 4 months ago

I wanted to use rocket_auth with my project, but couldn't compile due to a dependency conflict with libsqlite3-sys that's used by a more recent sqlx version. This is my attempt to update rocket, sqlx, and rusqlite dependencies to enable building with my project. The main code changes are to switch off of deprecated or removed Rocket APIs (i.e. Outcome::Failure -> Outcome::Error and Cookie::named -> Cookie::from).

I am still integrating with my project to fully test, but please let me know if I should test/change something else to make this PR acceptable.