update
This commit is contained in:
parent
31207b2550
commit
c776248f8f
|
@ -1,6 +1,9 @@
|
|||
[workspace]
|
||||
|
||||
members = [
|
||||
"libwasm",
|
||||
"axel",
|
||||
"aos_wasm_stress_test",
|
||||
"libwasm",
|
||||
"pk_data",
|
||||
"versioning",
|
||||
]
|
1
axel
Submodule
1
axel
Submodule
|
@ -0,0 +1 @@
|
|||
Subproject commit e673d8f3ce20ec97ae881f372a91f73a0b517f90
|
17
pk_data/Cargo.toml
Normal file
17
pk_data/Cargo.toml
Normal 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"]
|
3
pk_data/assets/metadata.toml
Normal file
3
pk_data/assets/metadata.toml
Normal file
|
@ -0,0 +1,3 @@
|
|||
name = "bruh"
|
||||
version = [1233, 123, 123]
|
||||
authors = ["John Doe", "Jane Doe"]
|
23
pk_data/src/lib.rs
Normal file
23
pk_data/src/lib.rs
Normal 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
1
versioning
Submodule
|
@ -0,0 +1 @@
|
|||
Subproject commit ef472283e6e7a2e395ee56434087b3a6fad53ff2
|
Loading…
Reference in a new issue