diff --git a/src/interactors/crates.rs b/src/interactors/crates.rs index 4a1ad01..da881c8 100644 --- a/src/interactors/crates.rs +++ b/src/interactors/crates.rs @@ -48,7 +48,7 @@ fn convert_pkgs(krate: Crate) -> Result { match dep.kind() { 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, }; }