Merge #305: Add patch to liana version
5e79c05c544a573a9030e64564c412d95ac34f57 Add patch to liana version (edouard)
Pull request description:
The struct will be imported by the gui which
may need one day to increase the patch version number.
ACKs for top commit:
darosior:
ACK 5e79c05c544a573a9030e64564c412d95ac34f57
Tree-SHA512: 8f129587c638107be31e9a1aa00387ba8d319338df1f3a1072386585901476dd677c85fa3fb8e7a985f11ea6cc2d5607279554ad5a2d651e2c14dda3842353a4
This commit is contained in:
commit
94a2b72d96
@ -67,15 +67,20 @@ fn setup_panic_hook() {
|
||||
pub struct Version {
|
||||
pub major: u32,
|
||||
pub minor: u32,
|
||||
pub patch: u32,
|
||||
}
|
||||
|
||||
impl fmt::Display for Version {
|
||||
fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {
|
||||
write!(f, "{}.{}", self.major, self.minor)
|
||||
write!(f, "{}.{}.{}", self.major, self.minor, self.patch)
|
||||
}
|
||||
}
|
||||
|
||||
pub const VERSION: Version = Version { major: 0, minor: 1 };
|
||||
pub const VERSION: Version = Version {
|
||||
major: 0,
|
||||
minor: 1,
|
||||
patch: 0,
|
||||
};
|
||||
|
||||
#[derive(Debug)]
|
||||
pub enum StartupError {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user