first of many small code documentation

Signed-off-by: strawberry <strawberry@puppygock.gay>
This commit is contained in:
strawberry 2024-01-16 20:44:20 -05:00 committed by June
parent ad1d272e2a
commit 92641d0628
3 changed files with 14 additions and 2 deletions

View file

@ -68,7 +68,14 @@ pub use unversioned::*;
pub use user_directory::*;
pub use voip::*;
/// generated device ID length
pub const DEVICE_ID_LENGTH: usize = 10;
/// generated user access token length
pub const TOKEN_LENGTH: usize = 32;
/// generated user session ID length
pub const SESSION_ID_LENGTH: usize = 32;
/// auto-generated password length
pub const AUTO_GEN_PASSWORD_LENGTH: usize = 25;