| Crates.io | authlogic |
| lib.rs | authlogic |
| version | 0.3.0 |
| created_at | 2025-02-18 01:17:25.960813+00 |
| updated_at | 2025-08-13 14:36:17.419476+00 |
| description | Authentication logic for Actix Web applications |
| homepage | |
| repository | https://github.com/kaya3/authlogic-rs |
| max_upload_size | |
| id | 1559512 |
| size | 128,182 |
This library provides authentication logic for Actix Web applications in Rust.
The library makes some sensible choices about how authentication works:
Meanwhile, it stays agnostic on everything else:
Provide your own API endpoints for login, logout, register, etc.; or use server-side rendering with any templating engine you like.
You control the database: use any driver or ORM you like. You can even choose the shape of the table and the column names, if you want to.
You control how email challenges and notifications are composed and sent.
Define your own user roles and privileges with whatever logic is suitable for your application.
To integrate authlogic into your Actix Web application, you will need to provide types for your application state and your users, and implement a few traits.
Examples coming soon.
Please note that the security of this crate has not been independently audited. Use at your own risk.