This commit is contained in:
Able 2022-01-19 13:04:43 -06:00
parent cb25a50548
commit edbbf71fa7
2 changed files with 5 additions and 2 deletions

View file

@ -9,7 +9,7 @@ edition = "2021"
[dependencies.bincode] [dependencies.bincode]
git = "https://github.com/bincode-org/bincode.git" git = "https://github.com/bincode-org/bincode.git"
default-features = false default-features = false
features = ["serde_no_std"] features = ["serde_no_std", "derive"]
[dependencies.serde] [dependencies.serde]

View file

@ -1,4 +1,7 @@
#![no_std] #![no_std]
extern crate alloc;
use alloc::vec::Vec; use alloc::vec::Vec;
use bincode::{Decode, Encode}; use bincode::{Decode, Encode};
@ -13,7 +16,7 @@ pub type WindowBar = Vec<WindowOption>;
pub type WindowID = u64; pub type WindowID = u64;
#[derive(Encode, Decode, PartialEq, Debug)] #[derive(Encode, Decode, PartialEq, Debug)]
pub struct Window { pub struct Window {
bar: WindowBar, // bar: WindowBar,
} }
// TODO: Seperate out this versioning into ableos-ver // TODO: Seperate out this versioning into ableos-ver