forked from able/aos_userland
14 lines
304 B
Rust
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,
|
|
}
|