mirror of
https://github.com/emilk/egui.git
synced 2026-06-26 14:49:06 -04:00
Update MSRV from 1.88 to 1.92 (#7793)
This commit is contained in:
2
.github/workflows/cargo_machete.yml
vendored
2
.github/workflows/cargo_machete.yml
vendored
@@ -9,7 +9,7 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- uses: dtolnay/rust-toolchain@stable
|
- uses: dtolnay/rust-toolchain@stable
|
||||||
with:
|
with:
|
||||||
toolchain: 1.88
|
toolchain: 1.92
|
||||||
- name: Machete install
|
- name: Machete install
|
||||||
## The official cargo-machete action
|
## The official cargo-machete action
|
||||||
uses: bnjbvr/cargo-machete@v0.9.1
|
uses: bnjbvr/cargo-machete@v0.9.1
|
||||||
|
|||||||
2
.github/workflows/deploy_web_demo.yml
vendored
2
.github/workflows/deploy_web_demo.yml
vendored
@@ -38,7 +38,7 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
profile: minimal
|
profile: minimal
|
||||||
target: wasm32-unknown-unknown
|
target: wasm32-unknown-unknown
|
||||||
toolchain: 1.88.0
|
toolchain: 1.92.0
|
||||||
override: true
|
override: true
|
||||||
|
|
||||||
- uses: Swatinem/rust-cache@v2
|
- uses: Swatinem/rust-cache@v2
|
||||||
|
|||||||
2
.github/workflows/preview_build.yml
vendored
2
.github/workflows/preview_build.yml
vendored
@@ -20,7 +20,7 @@ jobs:
|
|||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
- uses: dtolnay/rust-toolchain@stable
|
- uses: dtolnay/rust-toolchain@stable
|
||||||
with:
|
with:
|
||||||
toolchain: 1.88.0
|
toolchain: 1.92.0
|
||||||
targets: wasm32-unknown-unknown
|
targets: wasm32-unknown-unknown
|
||||||
- uses: Swatinem/rust-cache@v2
|
- uses: Swatinem/rust-cache@v2
|
||||||
with:
|
with:
|
||||||
|
|||||||
14
.github/workflows/rust.yml
vendored
14
.github/workflows/rust.yml
vendored
@@ -19,7 +19,7 @@ jobs:
|
|||||||
|
|
||||||
- uses: dtolnay/rust-toolchain@stable
|
- uses: dtolnay/rust-toolchain@stable
|
||||||
with:
|
with:
|
||||||
toolchain: 1.88.0
|
toolchain: 1.92.0
|
||||||
|
|
||||||
- name: Install packages (Linux)
|
- name: Install packages (Linux)
|
||||||
if: runner.os == 'Linux'
|
if: runner.os == 'Linux'
|
||||||
@@ -74,7 +74,7 @@ jobs:
|
|||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
- uses: dtolnay/rust-toolchain@stable
|
- uses: dtolnay/rust-toolchain@stable
|
||||||
with:
|
with:
|
||||||
toolchain: 1.88.0
|
toolchain: 1.92.0
|
||||||
targets: wasm32-unknown-unknown
|
targets: wasm32-unknown-unknown
|
||||||
|
|
||||||
- run: sudo apt-get update && sudo apt-get install libgtk-3-dev libatk1.0-dev
|
- run: sudo apt-get update && sudo apt-get install libgtk-3-dev libatk1.0-dev
|
||||||
@@ -148,7 +148,7 @@ jobs:
|
|||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
- uses: EmbarkStudios/cargo-deny-action@v2
|
- uses: EmbarkStudios/cargo-deny-action@v2
|
||||||
with:
|
with:
|
||||||
rust-version: "1.88.0"
|
rust-version: "1.92.0"
|
||||||
log-level: error
|
log-level: error
|
||||||
command: check
|
command: check
|
||||||
arguments: --target ${{ matrix.target }}
|
arguments: --target ${{ matrix.target }}
|
||||||
@@ -164,7 +164,7 @@ jobs:
|
|||||||
|
|
||||||
- uses: dtolnay/rust-toolchain@stable
|
- uses: dtolnay/rust-toolchain@stable
|
||||||
with:
|
with:
|
||||||
toolchain: 1.88.0
|
toolchain: 1.92.0
|
||||||
targets: aarch64-linux-android
|
targets: aarch64-linux-android
|
||||||
|
|
||||||
- name: Set up cargo cache
|
- name: Set up cargo cache
|
||||||
@@ -186,7 +186,7 @@ jobs:
|
|||||||
|
|
||||||
- uses: dtolnay/rust-toolchain@stable
|
- uses: dtolnay/rust-toolchain@stable
|
||||||
with:
|
with:
|
||||||
toolchain: 1.88.0
|
toolchain: 1.92.0
|
||||||
targets: aarch64-apple-ios
|
targets: aarch64-apple-ios
|
||||||
|
|
||||||
- name: Set up cargo cache
|
- name: Set up cargo cache
|
||||||
@@ -206,7 +206,7 @@ jobs:
|
|||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
- uses: dtolnay/rust-toolchain@stable
|
- uses: dtolnay/rust-toolchain@stable
|
||||||
with:
|
with:
|
||||||
toolchain: 1.88.0
|
toolchain: 1.92.0
|
||||||
|
|
||||||
- name: Set up cargo cache
|
- name: Set up cargo cache
|
||||||
uses: Swatinem/rust-cache@v2
|
uses: Swatinem/rust-cache@v2
|
||||||
@@ -228,7 +228,7 @@ jobs:
|
|||||||
lfs: true
|
lfs: true
|
||||||
- uses: dtolnay/rust-toolchain@stable
|
- uses: dtolnay/rust-toolchain@stable
|
||||||
with:
|
with:
|
||||||
toolchain: 1.88.0
|
toolchain: 1.92.0
|
||||||
|
|
||||||
- name: Set up cargo cache
|
- name: Set up cargo cache
|
||||||
uses: Swatinem/rust-cache@v2
|
uses: Swatinem/rust-cache@v2
|
||||||
|
|||||||
@@ -23,7 +23,7 @@ members = [
|
|||||||
[workspace.package]
|
[workspace.package]
|
||||||
edition = "2024"
|
edition = "2024"
|
||||||
license = "MIT OR Apache-2.0"
|
license = "MIT OR Apache-2.0"
|
||||||
rust-version = "1.88"
|
rust-version = "1.92"
|
||||||
version = "0.33.3"
|
version = "0.33.3"
|
||||||
|
|
||||||
|
|
||||||
@@ -311,7 +311,6 @@ string_add = "warn"
|
|||||||
string_add_assign = "warn"
|
string_add_assign = "warn"
|
||||||
string_lit_as_bytes = "warn"
|
string_lit_as_bytes = "warn"
|
||||||
string_lit_chars_any = "warn"
|
string_lit_chars_any = "warn"
|
||||||
string_to_string = "warn"
|
|
||||||
suspicious_command_arg_space = "warn"
|
suspicious_command_arg_space = "warn"
|
||||||
suspicious_xor_used_as_pow = "warn"
|
suspicious_xor_used_as_pow = "warn"
|
||||||
todo = "warn"
|
todo = "warn"
|
||||||
@@ -320,7 +319,7 @@ trailing_empty_array = "warn"
|
|||||||
trait_duplication_in_bounds = "warn"
|
trait_duplication_in_bounds = "warn"
|
||||||
transmute_ptr_to_ptr = "warn"
|
transmute_ptr_to_ptr = "warn"
|
||||||
tuple_array_conversions = "warn"
|
tuple_array_conversions = "warn"
|
||||||
unchecked_duration_subtraction = "warn"
|
unchecked_time_subtraction = "warn"
|
||||||
undocumented_unsafe_blocks = "warn"
|
undocumented_unsafe_blocks = "warn"
|
||||||
unimplemented = "warn"
|
unimplemented = "warn"
|
||||||
uninhabited_references = "warn"
|
uninhabited_references = "warn"
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
# -----------------------------------------------------------------------------
|
# -----------------------------------------------------------------------------
|
||||||
# Section identical to scripts/clippy_wasm/clippy.toml:
|
# Section identical to scripts/clippy_wasm/clippy.toml:
|
||||||
|
|
||||||
msrv = "1.88"
|
msrv = "1.92"
|
||||||
|
|
||||||
allow-unwrap-in-tests = true
|
allow-unwrap-in-tests = true
|
||||||
|
|
||||||
@@ -39,9 +39,9 @@ disallowed-methods = [
|
|||||||
# but we cannot disable them all here (because of e.g. https://github.com/rust-lang/rust-clippy/issues/10406)
|
# but we cannot disable them all here (because of e.g. https://github.com/rust-lang/rust-clippy/issues/10406)
|
||||||
# so we do that in `clipppy_wasm.toml` instead.
|
# so we do that in `clipppy_wasm.toml` instead.
|
||||||
|
|
||||||
{ path = "std::env::temp_dir", readon = "Use the tempfile crate instead" },
|
{ path = "std::env::temp_dir", reason = "Use the tempfile crate instead" },
|
||||||
{ path = "std::panic::catch_unwind", reason = "We compile with `panic = abort" },
|
{ path = "std::panic::catch_unwind", reason = "We compile with `panic = abort" },
|
||||||
{ path = "std::thread::spawn", readon = "Use `std::thread::Builder` and name the thread" },
|
{ path = "std::thread::spawn", reason = "Use `std::thread::Builder` and name the thread" },
|
||||||
]
|
]
|
||||||
|
|
||||||
# https://rust-lang.github.io/rust-clippy/master/index.html#disallowed_names
|
# https://rust-lang.github.io/rust-clippy/master/index.html#disallowed_names
|
||||||
|
|||||||
@@ -285,8 +285,8 @@ fn create_clipboard_item(mime: &str, bytes: &[u8]) -> Result<web_sys::ClipboardI
|
|||||||
|
|
||||||
let items = js_sys::Object::new();
|
let items = js_sys::Object::new();
|
||||||
|
|
||||||
// SAFETY: I hope so
|
|
||||||
#[expect(unsafe_code, unused_unsafe)] // Weird false positive
|
#[expect(unsafe_code, unused_unsafe)] // Weird false positive
|
||||||
|
// SAFETY: I hope so
|
||||||
unsafe {
|
unsafe {
|
||||||
js_sys::Reflect::set(&items, &JsValue::from_str(mime), &blob)?
|
js_sys::Reflect::set(&items, &JsValue::from_str(mime), &blob)?
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -172,7 +172,7 @@ impl Area {
|
|||||||
|
|
||||||
/// Set the [`UiStackInfo`] of the area's [`Ui`].
|
/// Set the [`UiStackInfo`] of the area's [`Ui`].
|
||||||
///
|
///
|
||||||
/// Default to [`UiStackInfo::new(UiKind::GenericArea)`].
|
/// Default to [`UiStackInfo`] with kind [`UiKind::GenericArea`].
|
||||||
#[inline]
|
#[inline]
|
||||||
pub fn info(mut self, info: UiStackInfo) -> Self {
|
pub fn info(mut self, info: UiStackInfo) -> Self {
|
||||||
self.info = info;
|
self.info = info;
|
||||||
|
|||||||
@@ -336,7 +336,7 @@ impl Frame {
|
|||||||
impl Frame {
|
impl Frame {
|
||||||
/// How much extra space the frame uses up compared to the content.
|
/// How much extra space the frame uses up compared to the content.
|
||||||
///
|
///
|
||||||
/// [`Self::inner_margin`] + [`Self.stroke`]`.width` + [`Self::outer_margin`].
|
/// [`Self::inner_margin`] + [`Self::stroke`]`.width` + [`Self::outer_margin`].
|
||||||
#[inline]
|
#[inline]
|
||||||
pub fn total_margin(&self) -> MarginF32 {
|
pub fn total_margin(&self) -> MarginF32 {
|
||||||
MarginF32::from(self.inner_margin)
|
MarginF32::from(self.inner_margin)
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
//! Try the live web demo: <https://www.egui.rs/#demo>. Read more about egui at <https://github.com/emilk/egui>.
|
//! Try the live web demo: <https://www.egui.rs/#demo>. Read more about egui at <https://github.com/emilk/egui>.
|
||||||
//!
|
//!
|
||||||
//! `egui` is in heavy development, with each new version having breaking changes.
|
//! `egui` is in heavy development, with each new version having breaking changes.
|
||||||
//! You need to have rust 1.88.0 or later to use `egui`.
|
//! You need to have rust 1.92.0 or later to use `egui`.
|
||||||
//!
|
//!
|
||||||
//! To quickly get started with egui, you can take a look at [`eframe_template`](https://github.com/emilk/eframe_template)
|
//! To quickly get started with egui, you can take a look at [`eframe_template`](https://github.com/emilk/eframe_template)
|
||||||
//! which uses [`eframe`](https://docs.rs/eframe).
|
//! which uses [`eframe`](https://docs.rs/eframe).
|
||||||
|
|||||||
@@ -14,7 +14,7 @@ use crate::{
|
|||||||
/// It also lets you easily show a tooltip on hover.
|
/// It also lets you easily show a tooltip on hover.
|
||||||
///
|
///
|
||||||
/// Whenever something gets added to a [`Ui`], a [`Response`] object is returned.
|
/// Whenever something gets added to a [`Ui`], a [`Response`] object is returned.
|
||||||
/// [`ui.add`] returns a [`Response`], as does [`ui.button`], and all similar shortcuts.
|
/// [`Ui::add`] returns a [`Response`], as does [`Ui::button`], and all similar shortcuts.
|
||||||
///
|
///
|
||||||
/// ⚠️ The `Response` contains a clone of [`Context`], and many methods lock the `Context`.
|
/// ⚠️ The `Response` contains a clone of [`Context`], and many methods lock the `Context`.
|
||||||
/// It can therefore be a deadlock to use `Context` from within a context-locking closures,
|
/// It can therefore be a deadlock to use `Context` from within a context-locking closures,
|
||||||
|
|||||||
@@ -198,6 +198,7 @@ pub fn criterion_benchmark(c: &mut Criterion) {
|
|||||||
let mut string = String::new();
|
let mut string = String::new();
|
||||||
for _ in 0..NUM_LINES {
|
for _ in 0..NUM_LINES {
|
||||||
for i in 0..30_u8 {
|
for i in 0..30_u8 {
|
||||||
|
#[expect(clippy::unwrap_used)]
|
||||||
write!(string, "{i:02X} ").unwrap();
|
write!(string, "{i:02X} ").unwrap();
|
||||||
}
|
}
|
||||||
string.push('\n');
|
string.push('\n');
|
||||||
|
|||||||
@@ -194,7 +194,7 @@ pub fn menus_should_close_even_if_submenu_disappears() {
|
|||||||
const OTHER_BUTTON: &str = "Other button";
|
const OTHER_BUTTON: &str = "Other button";
|
||||||
const MENU_BUTTON: &str = "Menu";
|
const MENU_BUTTON: &str = "Menu";
|
||||||
const SUB_MENU_BUTTON: &str = "Always here";
|
const SUB_MENU_BUTTON: &str = "Always here";
|
||||||
const TOGGLABLE_SUB_MENU_BUTTON: &str = "Maybe here";
|
const TOGGLEABLE_SUB_MENU_BUTTON: &str = "Maybe here";
|
||||||
const INSIDE_SUB_MENU_BUTTON: &str = "Inside submenu";
|
const INSIDE_SUB_MENU_BUTTON: &str = "Inside submenu";
|
||||||
|
|
||||||
for frame_delay in (0..3).rev() {
|
for frame_delay in (0..3).rev() {
|
||||||
@@ -206,7 +206,7 @@ pub fn menus_should_close_even_if_submenu_disappears() {
|
|||||||
Popup::menu(&response).show(|ui| {
|
Popup::menu(&response).show(|ui| {
|
||||||
let _ = ui.button(SUB_MENU_BUTTON);
|
let _ = ui.button(SUB_MENU_BUTTON);
|
||||||
if *state {
|
if *state {
|
||||||
ui.menu_button(TOGGLABLE_SUB_MENU_BUTTON, |ui| {
|
ui.menu_button(TOGGLEABLE_SUB_MENU_BUTTON, |ui| {
|
||||||
let _ = ui.button(INSIDE_SUB_MENU_BUTTON);
|
let _ = ui.button(INSIDE_SUB_MENU_BUTTON);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
@@ -221,7 +221,7 @@ pub fn menus_should_close_even_if_submenu_disappears() {
|
|||||||
|
|
||||||
// Open the sub menu
|
// Open the sub menu
|
||||||
harness
|
harness
|
||||||
.get_by_label_contains(TOGGLABLE_SUB_MENU_BUTTON)
|
.get_by_label_contains(TOGGLEABLE_SUB_MENU_BUTTON)
|
||||||
.hover();
|
.hover();
|
||||||
harness.run();
|
harness.run();
|
||||||
|
|
||||||
|
|||||||
@@ -4,7 +4,7 @@ version = "0.1.0"
|
|||||||
authors = ["Emil Ernerfeldt <emil.ernerfeldt@gmail.com>"]
|
authors = ["Emil Ernerfeldt <emil.ernerfeldt@gmail.com>"]
|
||||||
license = "MIT OR Apache-2.0"
|
license = "MIT OR Apache-2.0"
|
||||||
edition = "2024"
|
edition = "2024"
|
||||||
rust-version = "1.88"
|
rust-version = "1.92"
|
||||||
publish = false
|
publish = false
|
||||||
|
|
||||||
[lints]
|
[lints]
|
||||||
|
|||||||
@@ -4,7 +4,7 @@ version = "0.1.0"
|
|||||||
authors = ["Emil Ernerfeldt <emil.ernerfeldt@gmail.com>"]
|
authors = ["Emil Ernerfeldt <emil.ernerfeldt@gmail.com>"]
|
||||||
license = "MIT OR Apache-2.0"
|
license = "MIT OR Apache-2.0"
|
||||||
edition = "2024"
|
edition = "2024"
|
||||||
rust-version = "1.88"
|
rust-version = "1.92"
|
||||||
publish = false
|
publish = false
|
||||||
|
|
||||||
[lints]
|
[lints]
|
||||||
|
|||||||
@@ -4,7 +4,7 @@ version = "0.1.0"
|
|||||||
authors = ["Emil Ernerfeldt <emil.ernerfeldt@gmail.com>"]
|
authors = ["Emil Ernerfeldt <emil.ernerfeldt@gmail.com>"]
|
||||||
license = "MIT OR Apache-2.0"
|
license = "MIT OR Apache-2.0"
|
||||||
edition = "2024"
|
edition = "2024"
|
||||||
rust-version = "1.88"
|
rust-version = "1.92"
|
||||||
publish = false
|
publish = false
|
||||||
|
|
||||||
[lints]
|
[lints]
|
||||||
|
|||||||
@@ -4,7 +4,7 @@ version = "0.1.0"
|
|||||||
authors = ["tami5 <kkharji@proton.me>"]
|
authors = ["tami5 <kkharji@proton.me>"]
|
||||||
license = "MIT OR Apache-2.0"
|
license = "MIT OR Apache-2.0"
|
||||||
edition = "2024"
|
edition = "2024"
|
||||||
rust-version = "1.88"
|
rust-version = "1.92"
|
||||||
publish = false
|
publish = false
|
||||||
|
|
||||||
[lints]
|
[lints]
|
||||||
|
|||||||
@@ -4,7 +4,7 @@ version = "0.1.0"
|
|||||||
authors = ["Varphone Wong <varphone@qq.com>"]
|
authors = ["Varphone Wong <varphone@qq.com>"]
|
||||||
license = "MIT OR Apache-2.0"
|
license = "MIT OR Apache-2.0"
|
||||||
edition = "2024"
|
edition = "2024"
|
||||||
rust-version = "1.88"
|
rust-version = "1.92"
|
||||||
publish = false
|
publish = false
|
||||||
|
|
||||||
[lints]
|
[lints]
|
||||||
|
|||||||
@@ -3,7 +3,7 @@ name = "custom_style"
|
|||||||
version = "0.1.0"
|
version = "0.1.0"
|
||||||
license = "MIT OR Apache-2.0"
|
license = "MIT OR Apache-2.0"
|
||||||
edition = "2024"
|
edition = "2024"
|
||||||
rust-version = "1.88"
|
rust-version = "1.92"
|
||||||
publish = false
|
publish = false
|
||||||
|
|
||||||
[lints]
|
[lints]
|
||||||
|
|||||||
@@ -4,7 +4,7 @@ version = "0.1.0"
|
|||||||
authors = ["Emil Ernerfeldt <emil.ernerfeldt@gmail.com>"]
|
authors = ["Emil Ernerfeldt <emil.ernerfeldt@gmail.com>"]
|
||||||
license = "MIT OR Apache-2.0"
|
license = "MIT OR Apache-2.0"
|
||||||
edition = "2024"
|
edition = "2024"
|
||||||
rust-version = "1.88"
|
rust-version = "1.92"
|
||||||
publish = false
|
publish = false
|
||||||
|
|
||||||
[lints]
|
[lints]
|
||||||
|
|||||||
@@ -4,7 +4,7 @@ version = "0.1.0"
|
|||||||
authors = ["Will Brown <opensource@rebeagle.com>"]
|
authors = ["Will Brown <opensource@rebeagle.com>"]
|
||||||
license = "MIT OR Apache-2.0"
|
license = "MIT OR Apache-2.0"
|
||||||
edition = "2024"
|
edition = "2024"
|
||||||
rust-version = "1.88"
|
rust-version = "1.92"
|
||||||
publish = false
|
publish = false
|
||||||
|
|
||||||
[lints]
|
[lints]
|
||||||
|
|||||||
@@ -4,7 +4,7 @@ version = "0.1.0"
|
|||||||
authors = ["Will Brown <opensource@rebeagle.com>"]
|
authors = ["Will Brown <opensource@rebeagle.com>"]
|
||||||
license = "MIT OR Apache-2.0"
|
license = "MIT OR Apache-2.0"
|
||||||
edition = "2024"
|
edition = "2024"
|
||||||
rust-version = "1.88"
|
rust-version = "1.92"
|
||||||
publish = false
|
publish = false
|
||||||
|
|
||||||
[lints]
|
[lints]
|
||||||
|
|||||||
@@ -4,7 +4,7 @@ version = "0.1.0"
|
|||||||
authors = ["Emil Ernerfeldt <emil.ernerfeldt@gmail.com>"]
|
authors = ["Emil Ernerfeldt <emil.ernerfeldt@gmail.com>"]
|
||||||
license = "MIT OR Apache-2.0"
|
license = "MIT OR Apache-2.0"
|
||||||
edition = "2024"
|
edition = "2024"
|
||||||
rust-version = "1.88"
|
rust-version = "1.92"
|
||||||
publish = false
|
publish = false
|
||||||
|
|
||||||
[lints]
|
[lints]
|
||||||
|
|||||||
@@ -4,7 +4,7 @@ version = "0.1.0"
|
|||||||
authors = ["Emil Ernerfeldt <emil.ernerfeldt@gmail.com>"]
|
authors = ["Emil Ernerfeldt <emil.ernerfeldt@gmail.com>"]
|
||||||
license = "MIT OR Apache-2.0"
|
license = "MIT OR Apache-2.0"
|
||||||
edition = "2024"
|
edition = "2024"
|
||||||
rust-version = "1.88"
|
rust-version = "1.92"
|
||||||
publish = false
|
publish = false
|
||||||
|
|
||||||
# `unsafe_code` is required for `#[no_mangle]`, disable workspace lints to workaround lint error.
|
# `unsafe_code` is required for `#[no_mangle]`, disable workspace lints to workaround lint error.
|
||||||
|
|||||||
@@ -4,7 +4,7 @@ version = "0.1.0"
|
|||||||
authors = ["Emil Ernerfeldt <emil.ernerfeldt@gmail.com>"]
|
authors = ["Emil Ernerfeldt <emil.ernerfeldt@gmail.com>"]
|
||||||
license = "MIT OR Apache-2.0"
|
license = "MIT OR Apache-2.0"
|
||||||
edition = "2024"
|
edition = "2024"
|
||||||
rust-version = "1.88"
|
rust-version = "1.92"
|
||||||
publish = false
|
publish = false
|
||||||
|
|
||||||
[lints]
|
[lints]
|
||||||
|
|||||||
@@ -4,7 +4,7 @@ version = "0.1.0"
|
|||||||
authors = ["Maxim Osipenko <maxim1999max@gmail.com>"]
|
authors = ["Maxim Osipenko <maxim1999max@gmail.com>"]
|
||||||
license = "MIT OR Apache-2.0"
|
license = "MIT OR Apache-2.0"
|
||||||
edition = "2024"
|
edition = "2024"
|
||||||
rust-version = "1.88"
|
rust-version = "1.92"
|
||||||
publish = false
|
publish = false
|
||||||
|
|
||||||
[lints]
|
[lints]
|
||||||
|
|||||||
@@ -4,7 +4,7 @@ version = "0.1.0"
|
|||||||
authors = ["Emil Ernerfeldt <emil.ernerfeldt@gmail.com>"]
|
authors = ["Emil Ernerfeldt <emil.ernerfeldt@gmail.com>"]
|
||||||
license = "MIT OR Apache-2.0"
|
license = "MIT OR Apache-2.0"
|
||||||
edition = "2024"
|
edition = "2024"
|
||||||
rust-version = "1.88"
|
rust-version = "1.92"
|
||||||
publish = false
|
publish = false
|
||||||
|
|
||||||
[lints]
|
[lints]
|
||||||
|
|||||||
@@ -4,7 +4,7 @@ version = "0.1.0"
|
|||||||
authors = ["Jan Procházka <github.com/jprochazk>"]
|
authors = ["Jan Procházka <github.com/jprochazk>"]
|
||||||
license = "MIT OR Apache-2.0"
|
license = "MIT OR Apache-2.0"
|
||||||
edition = "2024"
|
edition = "2024"
|
||||||
rust-version = "1.88"
|
rust-version = "1.92"
|
||||||
publish = false
|
publish = false
|
||||||
|
|
||||||
[lints]
|
[lints]
|
||||||
|
|||||||
@@ -4,7 +4,7 @@ version = "0.1.0"
|
|||||||
authors = ["Jose Palazon <jose@palako.com>"]
|
authors = ["Jose Palazon <jose@palako.com>"]
|
||||||
license = "MIT OR Apache-2.0"
|
license = "MIT OR Apache-2.0"
|
||||||
edition = "2024"
|
edition = "2024"
|
||||||
rust-version = "1.88"
|
rust-version = "1.92"
|
||||||
publish = false
|
publish = false
|
||||||
|
|
||||||
[lints]
|
[lints]
|
||||||
|
|||||||
@@ -4,7 +4,7 @@ version = "0.1.0"
|
|||||||
authors = ["Emil Ernerfeldt <emil.ernerfeldt@gmail.com>"]
|
authors = ["Emil Ernerfeldt <emil.ernerfeldt@gmail.com>"]
|
||||||
license = "MIT OR Apache-2.0"
|
license = "MIT OR Apache-2.0"
|
||||||
edition = "2024"
|
edition = "2024"
|
||||||
rust-version = "1.88"
|
rust-version = "1.92"
|
||||||
publish = false
|
publish = false
|
||||||
|
|
||||||
[lints]
|
[lints]
|
||||||
|
|||||||
@@ -4,7 +4,7 @@ version = "0.1.0"
|
|||||||
authors = ["Emil Ernerfeldt <emil.ernerfeldt@gmail.com>"]
|
authors = ["Emil Ernerfeldt <emil.ernerfeldt@gmail.com>"]
|
||||||
license = "MIT OR Apache-2.0"
|
license = "MIT OR Apache-2.0"
|
||||||
edition = "2024"
|
edition = "2024"
|
||||||
rust-version = "1.88"
|
rust-version = "1.92"
|
||||||
publish = false
|
publish = false
|
||||||
|
|
||||||
[package.metadata.cargo-machete]
|
[package.metadata.cargo-machete]
|
||||||
|
|||||||
@@ -4,7 +4,7 @@ version = "0.1.0"
|
|||||||
authors = ["René Rössler <rene@freshx.de>", "Andreas Faber <andreas.mfaber@gmail.com"]
|
authors = ["René Rössler <rene@freshx.de>", "Andreas Faber <andreas.mfaber@gmail.com"]
|
||||||
license = "MIT OR Apache-2.0"
|
license = "MIT OR Apache-2.0"
|
||||||
edition = "2024"
|
edition = "2024"
|
||||||
rust-version = "1.88"
|
rust-version = "1.92"
|
||||||
publish = false
|
publish = false
|
||||||
|
|
||||||
[lints]
|
[lints]
|
||||||
|
|||||||
@@ -4,7 +4,7 @@ version = "0.1.0"
|
|||||||
authors = ["Emil Ernerfeldt <emil.ernerfeldt@gmail.com>"]
|
authors = ["Emil Ernerfeldt <emil.ernerfeldt@gmail.com>"]
|
||||||
license = "MIT OR Apache-2.0"
|
license = "MIT OR Apache-2.0"
|
||||||
edition = "2024"
|
edition = "2024"
|
||||||
rust-version = "1.88"
|
rust-version = "1.92"
|
||||||
publish = false
|
publish = false
|
||||||
|
|
||||||
[lints]
|
[lints]
|
||||||
|
|||||||
@@ -4,7 +4,7 @@ version = "0.1.0"
|
|||||||
authors = ["TicClick <ya@ticclick.ch>"]
|
authors = ["TicClick <ya@ticclick.ch>"]
|
||||||
license = "MIT OR Apache-2.0"
|
license = "MIT OR Apache-2.0"
|
||||||
edition = "2024"
|
edition = "2024"
|
||||||
rust-version = "1.88"
|
rust-version = "1.92"
|
||||||
publish = false
|
publish = false
|
||||||
|
|
||||||
[lints]
|
[lints]
|
||||||
|
|||||||
@@ -5,6 +5,6 @@
|
|||||||
# to the user in the error, instead of "error: invalid channel name '[toolchain]'".
|
# to the user in the error, instead of "error: invalid channel name '[toolchain]'".
|
||||||
|
|
||||||
[toolchain]
|
[toolchain]
|
||||||
channel = "1.88.0"
|
channel = "1.92.0"
|
||||||
components = ["rustfmt", "clippy"]
|
components = ["rustfmt", "clippy"]
|
||||||
targets = ["wasm32-unknown-unknown"]
|
targets = ["wasm32-unknown-unknown"]
|
||||||
|
|||||||
@@ -9,7 +9,7 @@ set -x
|
|||||||
# Checks all tests, lints etc.
|
# Checks all tests, lints etc.
|
||||||
# Basically does what the CI does.
|
# Basically does what the CI does.
|
||||||
|
|
||||||
# cargo +1.88.0 install --quiet typos-cli
|
# cargo +1.92.0 install --quiet typos-cli
|
||||||
|
|
||||||
export RUSTFLAGS="-D warnings"
|
export RUSTFLAGS="-D warnings"
|
||||||
export RUSTDOCFLAGS="-D warnings" # https://github.com/emilk/egui/pull/1454
|
export RUSTDOCFLAGS="-D warnings" # https://github.com/emilk/egui/pull/1454
|
||||||
|
|||||||
@@ -6,7 +6,7 @@
|
|||||||
# -----------------------------------------------------------------------------
|
# -----------------------------------------------------------------------------
|
||||||
# Section identical to the root clippy.toml:
|
# Section identical to the root clippy.toml:
|
||||||
|
|
||||||
msrv = "1.88"
|
msrv = "1.92"
|
||||||
|
|
||||||
allow-unwrap-in-tests = true
|
allow-unwrap-in-tests = true
|
||||||
|
|
||||||
|
|||||||
@@ -3,7 +3,7 @@ name = "test_egui_extras_compilation"
|
|||||||
version = "0.1.0"
|
version = "0.1.0"
|
||||||
license = "MIT OR Apache-2.0"
|
license = "MIT OR Apache-2.0"
|
||||||
edition = "2024"
|
edition = "2024"
|
||||||
rust-version = "1.88"
|
rust-version = "1.92"
|
||||||
publish = false
|
publish = false
|
||||||
|
|
||||||
[lints]
|
[lints]
|
||||||
|
|||||||
@@ -4,7 +4,7 @@ version = "0.1.0"
|
|||||||
authors = ["Emil Ernerfeldt <emil.ernerfeldt@gmail.com>"]
|
authors = ["Emil Ernerfeldt <emil.ernerfeldt@gmail.com>"]
|
||||||
license = "MIT OR Apache-2.0"
|
license = "MIT OR Apache-2.0"
|
||||||
edition = "2024"
|
edition = "2024"
|
||||||
rust-version = "1.88"
|
rust-version = "1.92"
|
||||||
publish = false
|
publish = false
|
||||||
|
|
||||||
[lints]
|
[lints]
|
||||||
|
|||||||
@@ -4,7 +4,7 @@ version = "0.1.0"
|
|||||||
authors = ["Emil Ernerfeldt <emil.ernerfeldt@gmail.com>"]
|
authors = ["Emil Ernerfeldt <emil.ernerfeldt@gmail.com>"]
|
||||||
license = "MIT OR Apache-2.0"
|
license = "MIT OR Apache-2.0"
|
||||||
edition = "2024"
|
edition = "2024"
|
||||||
rust-version = "1.88"
|
rust-version = "1.92"
|
||||||
publish = false
|
publish = false
|
||||||
|
|
||||||
[lints]
|
[lints]
|
||||||
|
|||||||
@@ -4,7 +4,7 @@ version = "0.1.0"
|
|||||||
authors = ["Antoine Beyeler <abeyeler@gmail.com>"]
|
authors = ["Antoine Beyeler <abeyeler@gmail.com>"]
|
||||||
license = "MIT OR Apache-2.0"
|
license = "MIT OR Apache-2.0"
|
||||||
edition = "2024"
|
edition = "2024"
|
||||||
rust-version = "1.88"
|
rust-version = "1.92"
|
||||||
publish = false
|
publish = false
|
||||||
|
|
||||||
[lints]
|
[lints]
|
||||||
|
|||||||
@@ -4,7 +4,7 @@ version = "0.1.0"
|
|||||||
authors = ["konkitoman"]
|
authors = ["konkitoman"]
|
||||||
license = "MIT OR Apache-2.0"
|
license = "MIT OR Apache-2.0"
|
||||||
edition = "2024"
|
edition = "2024"
|
||||||
rust-version = "1.88"
|
rust-version = "1.92"
|
||||||
publish = false
|
publish = false
|
||||||
|
|
||||||
[lints]
|
[lints]
|
||||||
|
|||||||
Reference in New Issue
Block a user