:<
This commit is contained in:
parent
640c93339f
commit
cb25a50548
3
.config/cargo.toml
Normal file
3
.config/cargo.toml
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
[unstable]
|
||||||
|
build-std = ["core", "compiler_builtins", "alloc"]
|
||||||
|
build-std-features = ["compiler-builtins-mem"]
|
|
@ -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"]
|
||||||
|
|
||||||
|
|
|
@ -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,
|
||||||
|
|
Loading…
Reference in a new issue