mirror of
https://github.com/emilk/egui.git
synced 2026-08-31 05:40:03 -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:
@@ -6,6 +6,7 @@ All notable changes to the `egui_web` integration will be noted in this file.
|
||||
* egui code will no longer be called after panic ([#1306](https://github.com/emilk/egui/pull/1306)).
|
||||
* Remove the "webgl" feature. `egui_web` now always use `glow` (which in turn wraps WebGL) ([#1356](https://github.com/emilk/egui/pull/1356)).
|
||||
* Use full browser width by default ([#1378](https://github.com/emilk/egui/pull/1378)).
|
||||
* MSRV (Minimum Supported Rust Version) is now `1.60.0` ([#1467](https://github.com/emilk/egui/pull/1467)).
|
||||
|
||||
|
||||
## 0.17.0 - 2022-02-22
|
||||
|
||||
@@ -5,7 +5,7 @@ authors = ["Emil Ernerfeldt <emil.ernerfeldt@gmail.com>"]
|
||||
description = "Bindings for compiling egui code to WASM for a web page"
|
||||
license = "MIT OR Apache-2.0"
|
||||
edition = "2021"
|
||||
rust-version = "1.56"
|
||||
rust-version = "1.60"
|
||||
homepage = "https://github.com/emilk/egui/tree/master/egui_web"
|
||||
readme = "README.md"
|
||||
repository = "https://github.com/emilk/egui/tree/master/egui_web"
|
||||
@@ -42,7 +42,7 @@ screen_reader = ["tts"]
|
||||
|
||||
[dependencies]
|
||||
egui = { version = "0.17.0", path = "../egui", default-features = false, features = [
|
||||
"convert_bytemuck",
|
||||
"bytemuck",
|
||||
"tracing",
|
||||
] }
|
||||
egui_glow = { version = "0.17.0", path = "../egui_glow", default-features = false }
|
||||
|
||||
@@ -4,6 +4,7 @@ pub struct ScreenReader {
|
||||
}
|
||||
|
||||
#[cfg(not(feature = "screen_reader"))]
|
||||
#[allow(clippy::derivable_impls)] // False positive
|
||||
impl Default for ScreenReader {
|
||||
fn default() -> Self {
|
||||
Self {}
|
||||
|
||||
Reference in New Issue
Block a user