blob: f4a69f51855b6d1fb4d6961b088ea9aa650c2e80 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
#![allow(dead_code)]
use crate::date::Date;
#[derive(Copy, Clone, Debug, PartialEq)]
pub struct Version {
pub minor: u16,
pub patch: u16,
pub channel: Channel,
}
#[derive(Copy, Clone, Debug, PartialEq)]
pub enum Channel {
Stable,
Beta,
Nightly(Date),
Dev,
}
|