Input macros for Rust