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

Rust 1.60.0 + refactor cargo features (#1467)

* Update to rust 1.60.0
* Rename the feature `convert_bytemuck` to `bytemuck`
* Rename the feature `serialize` to `serde`.
* Make use of the "weak dependency" cargo feature
* Set rust-version = "1.60" for all crates
* egui_glow: clipboard, links, persistence & winit are now opt-in features
This commit is contained in:
Emil Ernerfeldt
2022-04-09 13:54:47 +02:00
committed by GitHub
parent bdfc512b01
commit cf0338d48f
26 changed files with 73 additions and 53 deletions

View File

@@ -4,7 +4,7 @@ version = "0.17.0"
authors = ["Emil Ernerfeldt <emil.ernerfeldt@gmail.com>"]
description = "Example library for egui"
edition = "2021"
rust-version = "1.56"
rust-version = "1.60"
homepage = "https://github.com/emilk/egui/tree/master/egui_demo_lib"
license = "MIT OR Apache-2.0"
readme = "README.md"
@@ -35,7 +35,7 @@ persistence = [
"egui_extras/persistence",
"serde",
]
serialize = ["egui/serialize", "serde"]
serde = ["egui/serde", "dep:serde"]
syntax_highlighting = ["syntect"]