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

Fix author and version metadata in subcommands #46

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

pganssle
Copy link

@pganssle pganssle commented Dec 6, 2019

Each of the subcommands has a hard coded version of 1.0 and a hard-coded author name. This commit instead pulls this information directly from Cargo.toml, so that it can be upgraded from a centralized location.

I noticed this because it seems that the --keep flag is an enhancement not available on the version of cargo-profiler on crates.io, but I was erroneously seeing the version as 1.0.

One thing to note: the Cargo.toml has pegasos1 as the original author, but the .author calls had "Suchin Gururangan". Should we also change authors like so?

authors = ["Suchin Gururangan <pegasos1>", "Sven Hendrik Haase <[email protected]>"]

Each of the subcommands has a hard coded version of 1.0 and a hard-coded
author name. This commit instead pulls this information directly from
`Cargo.toml`, so that it can be upgraded from a centralized location.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant