This commit is contained in:
Able 2022-04-09 17:19:07 -05:00
parent 31207b2550
commit c776248f8f
6 changed files with 49 additions and 1 deletions

View file

@ -1,6 +1,9 @@
[workspace] [workspace]
members = [ members = [
"libwasm", "axel",
"aos_wasm_stress_test", "aos_wasm_stress_test",
"libwasm",
"pk_data",
"versioning",
] ]

1
axel Submodule

@ -0,0 +1 @@
Subproject commit e673d8f3ce20ec97ae881f372a91f73a0b517f90

17
pk_data/Cargo.toml Normal file
View file

@ -0,0 +1,17 @@
[package]
name = "wasm_pk_data"
version = "0.1.0"
edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
toml = "0.5"
versioning = {path = "../versioning"}
[dependencies.serde]
version = "1.0"
features = ["derive"]

View file

@ -0,0 +1,3 @@
name = "bruh"
version = [1233, 123, 123]
authors = ["John Doe", "Jane Doe"]

23
pk_data/src/lib.rs Normal file
View file

@ -0,0 +1,23 @@
#![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>,
}

1
versioning Submodule

@ -0,0 +1 @@
Subproject commit ef472283e6e7a2e395ee56434087b3a6fad53ff2