[tor-commits] [tor/master] Add some Rust utility functions and print support