mirror of
https://github.com/deps-rs/deps.rs.git
synced 2024-11-22 18:36:30 +00:00
Fix dev dependencies being counted as main dependencies (#88)
This commit is contained in:
parent
7719c9c3b6
commit
3427054f9b
1 changed files with 1 additions and 1 deletions
|
@ -48,7 +48,7 @@ fn convert_pkgs(krate: Crate) -> Result<QueryCrateResponse, Error> {
|
||||||
|
|
||||||
match dep.kind() {
|
match dep.kind() {
|
||||||
DependencyKind::Normal => deps.main.insert(name, CrateDep::External(req)),
|
DependencyKind::Normal => deps.main.insert(name, CrateDep::External(req)),
|
||||||
DependencyKind::Dev => deps.main.insert(name, CrateDep::External(req)),
|
DependencyKind::Dev => deps.dev.insert(name, CrateDep::External(req)),
|
||||||
_ => None,
|
_ => None,
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue