I have a crate with a version number declared in Cargo.toml
. Is there any way to retrieve the version from inside the library?
Asked
Active
Viewed 178 times
2

poolie
- 9,289
- 1
- 47
- 74
-
2This question already has an answer for this: http://stackoverflow.com/questions/27840394/how-can-a-rust-program-access-metadata-from-its-cargo-package – Francis Gagné Jul 25 '15 at 23:19