sanitize_module_name

Function sanitize_module_name 

Source
pub fn sanitize_module_name(name: &str) -> String
Expand description

Sanitizes module names for use as directory/file names Replaces spaces with hyphens, converts to lowercase, and removes other invalid characters This ensures consistent casing across case-insensitive filesystems (like macOS)