-
Notifications
You must be signed in to change notification settings - Fork 33
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
Add functions for tox crate version information #477
base: master
Are you sure you want to change the base?
Conversation
Would you please explain what you are fixing by this PR? Can you add more context? Error messages? |
Actually this feature is available in c-toxcore (for example here). The PR adds those API calls to the "tox" crate. Might be better suited in both "tox" and "tox_core" crate though. This allows to query and display (meta) information about the tox(_core) crate at runtime. |
Pull Request Test Coverage Report for Build 7247588774
💛 - Coveralls |
Ok good. Can you integrate these functions into Tox-node? |
Okay I moved the version info into the |
Adds functions to query and display the
tox
crate version during runtime.tox::tox_node::crate_version -> String
tox::tox_node::crate_version_major -> u32
tox::tox_node::crate_version_minor -> u32
tox::tox_node::crate_version_patch -> u32