1
0
mirror of https://github.com/emilk/egui.git synced 2026-09-01 14:20:04 -04:00

[eframe] Make persistence, http and time optional features

Saves on compile times.
This commit is contained in:
Emil Ernerfeldt
2021-01-04 01:44:02 +01:00
parent 00269f96c0
commit 69d31a5e47
30 changed files with 412 additions and 303 deletions

View File

@@ -18,3 +18,8 @@ include = [ "**/*.rs", "Cargo.toml"]
egui = { version = "0.6.0", path = "../egui" }
serde = { version = "1", optional = true }
serde_json = { version = "1", optional = true }
[features]
default = []
http = []
persistence = ["serde", "serde_json"]