- Drop .gitmodules (ia_dev tracked as submodule pointer without file) - Add services/docv Cargo workspace: docv-back, docv-shared, migrations, sources - Refresh systemd/README.md
6 lines
197 B
Rust
6 lines
197 B
Rust
//! Validation helpers (email, password, lengths). Used by back and optionally by front via WASM.
|
|
|
|
pub fn is_valid_email(s: &str) -> bool {
|
|
!s.is_empty() && s.contains('@') && s.len() <= 255
|
|
}
|