Skip to content

Include version information of C libraries in cargo --version --verbose #6275

@alexcrichton

Description

@alexcrichton

Sort of like how rustc -vV will report the version of LLVM, we should do the same for Cargo! Cargo critically depends on a few C libraries, and it'd be great if we could include those in the -vV output of Cargo:

  • libgit2 - both the version number and git revision
  • curl - both the version number and git revision
  • OpenSSL - (on relevant platforms) both git and version number
  • SChannel - (on Windows) we can probably include a version here hopefully
  • SecureTransport - (on OSX) hopefully can include a version here
  • libssh2 - version + git rev
  • zlib - version + git rev

Most of this will probably require changes in upstrem crates to report this information, but it'd be great to have!

Metadata

Metadata

Assignees

No one assigned

    Labels

    C-feature-requestCategory: proposal for a feature. Before PR, ping rust-lang/cargo if this is not `Feature accepted`Command-version

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions