From 3427054f9ba6ed49dc937c50bdd7a9729aeec70d Mon Sep 17 00:00:00 2001 From: Paolo Barbolini Date: Sun, 13 Dec 2020 09:50:14 +0100 Subject: [PATCH] Fix dev dependencies being counted as main dependencies (#88) --- src/interactors/crates.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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, }; }