1
0
mirror of https://github.com/emilk/egui.git synced 2026-08-30 13:20:05 -04:00

[egui] make serde an optional dependency

This commit is contained in:
Emil Ernerfeldt
2020-05-30 11:04:40 +02:00
parent fd5ab736bb
commit b80baf4039
28 changed files with 126 additions and 109 deletions

View File

@@ -8,7 +8,7 @@ use {
glium::glutin,
};
#[derive(Default, serde_derive::Deserialize, serde_derive::Serialize)]
#[derive(Default, serde::Deserialize, serde::Serialize)]
struct Window {
pos: Option<Pos2>,
size: Option<Vec2>,