From 62bb483451a5caabedfc0dd8ffa8f2817b97de8c Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Mon, 30 Jan 2017 18:46:53 +0100 Subject: [PATCH] don't skip optional requirements As for now we don't have way to say that it's mandatory if people want to install featue which lib provides. Signed-off-by: Igor Gnatenko --- cargo-deps.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/cargo-deps.py b/cargo-deps.py index 7a318be..0159451 100755 --- a/cargo-deps.py +++ b/cargo-deps.py @@ -79,8 +79,6 @@ for f in files: print_dep(md["name"], md["version"]) if args.requires or args.conflicts: for dep in md["dependencies"]: - if dep["optional"]: - continue if dep["kind"] is not None: # kind: build -> build dependencies # kind: dev -> test dependencies