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

Get version from cargo #27

Closed
MeirKlemp opened this issue Oct 2, 2020 · 1 comment
Closed

Get version from cargo #27

MeirKlemp opened this issue Oct 2, 2020 · 1 comment
Labels
enhancement New feature or request

Comments

@MeirKlemp
Copy link
Contributor

pub const CZKAWKA_VERSION: &str = "1.0.0";

You can get the version of the package directly from cargo.

pub const CZKAWKA_VERSION: &str = env!("CARGO_PKG_VERSION");
@qarmin qarmin added the enhancement New feature or request label Oct 2, 2020
@qarmin
Copy link
Owner

qarmin commented Oct 2, 2020

Implemented in 1829d19

@qarmin qarmin closed this as completed Oct 2, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants