2 unstable releases
0.2.0 | Mar 23, 2024 |
---|---|
0.1.0 | Mar 4, 2024 |
#1200 in HTTP server
19KB
389 lines
axum-htpasswd
Even the simplest web applications require the authentication of users for various usages. The goal of this package is to allow this in the simplest way possible that has been around since forever: Using a htpasswd file.
axum-htpasswd
supports files with password in plaintext (not recommended), or
hashed using Argon2id (recommended), or scrypt.
By enabling the feature cli
, the built application will support generating
htpasswd files.
lib.rs
:
Easy authentication for axum
Provide an easy-to-use, simple, file-based authentication
mechanism for axum
-based web applications modeled after
htpasswd
files.
Dependencies
~7–17MB
~213K SLoC