We're going to follow the
#100DaysofProjects hashtag on twitter so we can keep up with all the cool projects people are working on.
egg_mode uses streams and futures to pull in the tweets so we need to make our main function an async one. Note that when we do this Rust won't be able to find our main, so we also need to make use of Tokio's main macro.
We'll also take advantage of envy to handle environment variable configuration using a derive macro on our struct of env vars:
and the actual envy call, which panics if we can't get the env vars.