minidump-common 0.21.2

Some common types for working with minidump files.
Documentation
//! Utility functions, only pathname handling at the moment.

pub fn basename(f: &str) -> &str {
    match f.rfind(|c| c == '/' || c == '\\') {
        None => f,
        Some(index) => &f[(index + 1)..],
    }
}