Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cargo-metadata's resolve doesn't identify the kind of the dependency #4631

Closed
sfackler opened this issue Oct 17, 2017 · 2 comments · Fixed by #7132
Closed

cargo-metadata's resolve doesn't identify the kind of the dependency #4631

sfackler opened this issue Oct 17, 2017 · 2 comments · Fixed by #7132

Comments

@sfackler
Copy link
Member

There's no way (as far as I can tell) to see if the runtime bitflags dependency of this setup is turned on or not via cargo-metadata.

[package]                                                                                                                                                                                                                                                                          
name = "foo"                                                                                                                                                                                                                                                                       
version = "0.1.0"                                                                                                                                                                                                                                                                  
authors = ["Steven Fackler <[email protected]>"]                                                                                                                                                                                                                                  
                                                                                                                                                                                                                                                                                   
[dependencies]                                                                                                                                                                                                                                                                     
bitflags = { version = "0.1", optional = true }                                                                                                                                                                                                                                    
                                                                                                                                                                                                                                                                                   
[build-dependencies]                                                                                                                                                                                                                                                               
bitflags = "0.1"
@stale
Copy link

stale bot commented Sep 19, 2018

As there hasn't been any activity here in over 6 months I've marked this as stale and if no further activity happens for 7 days I will close it.

I'm a bot so this may be in error! If this issue should remain open, could someone (the author, a team member, or any interested party) please comment to that effect?

The team would be especially grateful if such a comment included details such as:

  • Is this still relevant?
  • If so, what is blocking it?
  • Is it known what could be done to help move this forward?

Thank you for contributing!

(The cargo team is currently evaluating the use of Stale bot, and using #6035 as the tracking issue to gather feedback.)

If you're reading this comment from the distant future, fear not if this was closed automatically. If you believe it's still an issue please leave a comment and a team member can reopen this issue. Opening a new issue is also acceptable!

@stale stale bot added the stale label Sep 19, 2018
@sfackler
Copy link
Member Author

Still needed for cargo-tree to move off of cargo-the-library.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants