Simple parsing for Rust