Skip to content

Use clap macro for metadata #6

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

Merged
merged 1 commit into from
Feb 27, 2020
Merged

Conversation

ldm0
Copy link
Contributor

@ldm0 ldm0 commented Feb 27, 2020

Let compiler fetch metadata of clap App from Cargo.toml. :-P

Check: https://docs.rs/clap/2.33.0/clap/macro.crate_version.html

@clearloop clearloop merged commit 683ac30 into clearloop:master Feb 27, 2020
@clearloop
Copy link
Owner

Coooool!! I have already tired handwriting v0.x.x every time updates leetcode-cli XD...This inspires me that if we can write a macro soft linking readme to lib.rs as well~

Thanks!!!

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.

2 participants