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