In order to make floki easier to test on the Rust side, it might make sense to split floki into a library portion and a binary portion. This issue is to track what code would be in which part.
My naive first take on this:
Would be interested in hearing thoughts... @rlupton20?