This PR adds a dependencies() method, which allows the user to access the list of dependencies.
Even though one can access a dependency by using the get_dependency(&self, name: &str), there is no way to access the existing dependencies list, as the struct member is private.
Also, maybe the project could benefit of running cargo fmt in order to apply the common rust formatting standards. I've not done it as it would generate a pretty big PR with mostly format changes, and would difficult the review of the main added code.
This PR adds a
dependencies()
method, which allows the user to access the list of dependencies.Even though one can access a dependency by using the
get_dependency(&self, name: &str)
, there is no way to access the existing dependencies list, as the struct member is private.Also, maybe the project could benefit of running
cargo fmt
in order to apply the common rust formatting standards. I've not done it as it would generate a pretty big PR with mostly format changes, and would difficult the review of the main added code.