Printing & formatting: console, fmt, println!, <print>
#Formatting lives in std::fmt and is used through macros: println! and print! write to standard output, eprintln! to standard error, format! returns a String, and write!/writeln! target any writer. {} uses a type's Display implementation (for people) and {:?} uses Debug (for programmers; #[derive(Debug)] provides one). Format strings are checked at compile time.
Complete program
Complete program. Standard library: ships with Rust, no install.
Most used: println!, eprintln!, format!, write!, {:?} and {:#?} for debugging, width and precision like {:>8} and {:.2}, impl fmt::Display for your own types.