diff --git a/Cargo.toml b/Cargo.toml index fa0c028..e3fa76e 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -9,7 +9,7 @@ edition = "2021" [dependencies.bincode] git = "https://github.com/bincode-org/bincode.git" default-features = false -features = ["serde_no_std"] +features = ["serde_no_std", "derive"] [dependencies.serde] diff --git a/src/lib.rs b/src/lib.rs index 3bcfa04..c6edb4b 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -1,4 +1,7 @@ #![no_std] + +extern crate alloc; + use alloc::vec::Vec; use bincode::{Decode, Encode}; @@ -13,7 +16,7 @@ pub type WindowBar = Vec; pub type WindowID = u64; #[derive(Encode, Decode, PartialEq, Debug)] pub struct Window { - bar: WindowBar, + // bar: WindowBar, } // TODO: Seperate out this versioning into ableos-ver