Is there a safe / sanitised filename function in Rust

Viewed 1314

Given that rolling one's own is not usually a great security idea, is there a crate or library function in Rust to sanitise a filename? The recent 'nul' crate demonstrates that there's a few OS-specific gotchas.

1 Answers
Related