This commit is contained in:
Able 2022-01-19 13:01:42 -06:00
parent 640c93339f
commit cb25a50548
3 changed files with 11 additions and 2 deletions

3
.config/cargo.toml Normal file
View file

@ -0,0 +1,3 @@
[unstable]
build-std = ["core", "compiler_builtins", "alloc"]
build-std-features = ["compiler-builtins-mem"]

View file

@ -11,3 +11,9 @@ git = "https://github.com/bincode-org/bincode.git"
default-features = false default-features = false
features = ["serde_no_std"] features = ["serde_no_std"]
[dependencies.serde]
version = "*"
default-features = false
features = ["derive", "alloc"]

View file

@ -1,8 +1,8 @@
#[no_std] #![no_std]
use alloc::vec::Vec;
use bincode::{Decode, Encode}; use bincode::{Decode, Encode};
#[derive(Encode, Decode, PartialEq, Debug)] #[derive(Encode, Decode, PartialEq, Debug)]
pub struct WindowOption { pub struct WindowOption {
// funct: WindowFunction, // funct: WindowFunction,
symbol: char, symbol: char,