Add enum34 as a dependency.
Make edge_dfs use a new Direction enum.