Our great sponsors
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
dev_api
-
Batteries-included web-frameworks in Rust
Most of the related code is here: https://github.com/deversify/dev_api/blob/main/src/tracing.rs. Line 38 is a beast! Lots of patching different examples and solving runtime crashes to get there.
-
help me with session based authentication in actix web please!!!
Here's our open sourced code implementing JWT with refresh tokens: https://github.com/deversify/dev_api/blob/main/src/jwt/mod.rs
rust-jwt
-
help me with session based authentication in actix web please!!!
So first I generate a token using the jsonwebtoken crate. This accepts a struct that is serde serializable and deserializeable. After that I construct the Cookie and send it as the response to the request for the '/login' route. You can see my struct here (I named it JWT, but that is not the best name ever, this is the data included in the JWT token): https://github.com/horvbalint/speer/blob/main/backend/src/jwt.rs And then the login route here (line 88): https://github.com/horvbalint/speer/blob/main/backend/src/routes.rs
- i am currently working in an startup as a rust developer
What are some alternatives?
django-tables2 - django-tables2 - An app for creating HTML tables
rust-accountkit
speer - Speer is a fast, privacy focused and open source communication app for various use cases
firestore-db-and-auth-rs - Easy Rust access to your Google Firestore DB via service account or OAuth impersonated Google Firebase Auth credentials
srp6-rs - A safe implementation of the secure remote password authentication and key-exchange protocol (SRP and SRP6a)
jwt-explorer - Decode, explore, and sign JWTs
sqlx-adapter - Asynchronous casbin adapter for mysql, postgres, sqlite based on sqlx-rs
rocket_auth - An implementation for an authentication API for Rocket applications.
rocket-firebase-auth - Firebase auth with Rocket, batteries included
jose - JWA, JWS, JWE, JWT, JWK, JWKS for Node.js, Browser, Cloudflare Workers, Deno, Bun, and other Web-interoperable runtimes.