1
0
Fork 0
forked from AbleOS/ableos
ableos/userland/wasm_pk_data/src/lib.rs

21 lines
348 B
Rust
Raw Normal View History

2022-02-23 10:06:27 -06:00
#![no_std]
extern crate alloc;
use {
alloc::{string::String, vec::Vec},
serde::Deserialize,
};
#[derive(Debug, Deserialize)]
pub struct Version {
pub major: u16,
pub minor: u8,
pub patch: u8,
}
#[derive(Debug, Deserialize)]
pub struct MetaData {
pub name: String,
pub version: Version,
pub authors: Vec<String>,
}