sfx 0.1.2

SFX is a streamlined, full-stack Rust framework for building small web services with integrated authentication, localization, and config-driven UI components
Documentation
1
2
3
4
5
6
7
8
9
10
pub mod fop; 
pub mod endpoints; 
pub mod analyze; 

use std::time::Duration;

use once_cell::sync::Lazy;

pub static LOCAL_AUTH: Lazy<fop::AuthManager> =
    Lazy::new(|| fop::AuthManager::new("programfiles/local_auth/users", Duration::from_secs(180)));