Transit implementation in Rust