]> git.proxmox.com Git - rustc.git/blame - vendor/rustversion/src/version.rs
Merge tag 'debian/1.52.1+dfsg1-1_exp2' into proxmox/buster
[rustc.git] / vendor / rustversion / src / version.rs
CommitLineData
f20569fa
XL
1#![allow(dead_code)]
2
3use crate::date::Date;
4
5#[derive(Copy, Clone, Debug, PartialEq)]
6pub struct Version {
7 pub minor: u16,
8 pub patch: u16,
9 pub channel: Channel,
10}
11
12#[derive(Copy, Clone, Debug, PartialEq)]
13pub enum Channel {
14 Stable,
15 Beta,
16 Nightly(Date),
17 Dev,
18}