From edbbf71fa768e70cf22351db1fe942924375c51e Mon Sep 17 00:00:00 2001 From: Able Date: Wed, 19 Jan 2022 13:04:43 -0600 Subject: [PATCH] >:( --- Cargo.toml | 2 +- src/lib.rs | 5 ++++- 2 files changed, 5 insertions(+), 2 deletions(-) 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