Rust implementation of Graph, being refactored version of GraphMap
from popular petgraph crate.
I’ve decided to start refactoring of petgraph crate for couple of reasons:
* I don't like to use a big library with a large codebase when I need just a piece of it (in my case GraphMap
). It is a high risk of introducing way in for mailicious attackers.
* Petgraph has almost no tests and I wanted to have a high/full test coverage, so I’ve added tests in.
* Petgraph has ordermap crate as a dependency, but it is outdated and not stable. Its current stable version was renamed to indexmap, so I've updated to it.
* I’ve done a few other modifications according to best practice.
* Petgraph crate doesn't have a stable release version yet and I didn't want to depend on it.
Licensed under the General Public License (GPL), version 3 (LICENSE http://www.gnu.org/licenses/gpl-3.0.en.html).