mirror of
https://github.com/deps-rs/deps.rs.git
synced 2024-11-22 10:26: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() {
|
||||
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,
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue