832169eb8d
The `Version` type uses a signed 32 bit integer inner type but we bit twiddle as if it was a `u32`. We recently made the inner type private to hide the data type because of this oddness. Add methods `from_consensus` and `to_consensus` to facilitate any possible thing users may want to do with a consensus version value. |
||
---|---|---|
.. | ||
contrib | ||
examples | ||
src | ||
tests | ||
Cargo.toml |