aos_userland/versioning/src/lib.rs
2022-04-09 17:26:20 -05:00

14 lines
304 B
Rust

// ! A unified versioning system for Rust.
#![no_std]
use core::prelude::rust_2021::derive;
use serde::{Deserialize, Serialize};
#[derive(Debug, Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash, Serialize, Deserialize)]
pub struct Version {
pub major: u8,
pub minor: u8,
pub patch: u8,
}