Feature request: better build info tools (which features, codegen a binary was compiled with) #1363
Labels
A-help
Area: documentation, including docs.rs, readme, examples, etc...
C-enhancement
Category: Raise on the bar on expectations
S-waiting-on-design
Status: Waiting on user-facing design to be resolved before implementing
Rust Version
rustc 1.31.0-nightly (bef62ccdd 2018-10-16)
Affected Version of clap
2.32.0
Bug or Feature Request Summary
I often find myself checking which version of a binary I compiled, between versions, crate features and codegen options. I wrote some code below which I am using via the
App::about
method to provide build info for my clap-generated-h
printout. (Likevim --version
, but much less info).This is ok, but unfortunately it needs to be manually maintained as new features are added, etc. It occurred to me that perhaps clap would be a good fit for this kind of functionality, and I didn't see anything in the docs about providing build info. Have you considered adding tools for tracking features, codegen options, etc.?
The text was updated successfully, but these errors were encountered: