1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
//! Web authentication library.
//!
//! This crate provides authentication for web applications.
//!
//! # Features
//!
//! ## Storage Backends
//!
//! - `postgres`: Enable PostgreSQL integration.
//!
//! ## Web Frameworks
//!
//! - `axum`: Enable Axum integration.
//!
//! ## Hash Algorithms
//!
//! This library supports multiple hash algorithms
//! but is currently configured to use only `argon2`.
//! In the future, the list of supported hashing algorithms
//! may change. Either because better algorithms are added,
//! or because existing algorithms are found to be insecure.
//! The default set always only includes safe algorithms.
//!
//! However, to keep support for algorithms currently in use within your project,
//! you can enable a specific `hash-algorithm-vN` feature.
//! This forces the inclusion of older hashing algorithms,
//! even if they maybe deemed less secure in the future.
//! By doing this, you keep support for older hashing algorithms,
//! and while also gaining increased security for new logins
//! through the use of newer algorithms.
//!
//! Note that only one of these features can be enabled;
//! they are not additive.
//!
//! New projects can simply pin the latest algorithm set version.
//!
//! - `hash-algorithms-v1`: argon2
pub use ;
pub use ;
pub use ;
pub use User;