Replies: 1 comment
-
I am not sure what you are trying to accomplish: The two crates you listed do very, very different things from each other:
Which crate (if either) sounds like what you are trying to do? |
Beta Was this translation helpful? Give feedback.
-
I noticed a few crates for auth floating around:
https://crates.io/crates/rocket_auth/0.3.0
https://crates.io/crates/rocket-basicauth
Unfortunately, rocket_auth requires an sql database to work.
I was hoping perhaps a mongodb rust driver examples existed with something like rocket_auth but I didn't find any.
Also unfortunately, I did not find an example showing how to use rocket-basicauth with the existing static_fileserver example.
I didn't find an example using a form with rocket-basicauth either.
I didn't want to get any databases involved just yet. I preferred to wire those in myself after I felt comfortable just getting this functionality working. Could anybody point me in the right direction for this?
Thank you in advance.
Beta Was this translation helpful? Give feedback.
All reactions