aos_userland/pk_data/src/lib.rs

24 lines
409 B
Rust

#![no_std]
extern crate alloc;
use {
alloc::{string::String, vec::Vec},
serde::{Deserialize, Serialize},
versioning::Version,
};
#[repr(C)]
#[derive(Copy, Clone, Debug, Deserialize, Serialize)]
pub enum Type {
Program = 0,
Driver = 1,
Library = 2,
}
#[derive(Debug, Deserialize)]
pub struct MetaData {
pub name: String,
pub version: Version,
pub authors: Vec<String>,
}