ableos/userland/wasm_pk_data/src/lib.rs

23 lines
350 B
Rust
Raw Normal View History

2022-02-23 10:06:27 -06:00
#![no_std]
2022-04-11 17:23:11 -05:00
2022-02-23 10:06:27 -06:00
extern crate alloc;
2022-04-11 17:23:11 -05:00
2022-02-23 10:06:27 -06:00
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)]
2022-04-11 17:23:11 -05:00
pub struct Metadata {
2022-02-23 10:06:27 -06:00
pub name: String,
pub version: Version,
pub authors: Vec<String>,
}