:<
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
|
||||
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};
|
||||
|
||||
#[derive(Encode, Decode, PartialEq, Debug)]
|
||||
|
||||
pub struct WindowOption {
|
||||
// funct: WindowFunction,
|
||||
symbol: char,
|
||||
|
|
Loading…
Reference in a new issue