A humorous attempt at implementing C++’s iostream and its syntax in Rust.
Differences from c++:
rin
reads lines instead.
endl
and flush
consumes the stream object to avoid an ‘unused operator result’ lint from rust.
Disclaimer: this is purely for fun, do not use this crate in production.