return dependencies with names

This commit is contained in:
Aleksey Kladov 2018-12-09 01:05:49 +03:00
parent 961cae7e53
commit 74fe581061
2 changed files with 17 additions and 6 deletions

View file

@ -38,8 +38,8 @@ impl CrateData {
#[derive(Debug, Clone, PartialEq, Eq)]
pub struct Dependency {
crate_id: CrateId,
name: SmolStr,
pub crate_id: CrateId,
pub name: SmolStr,
}
impl Dependency {