Emil Ernerfeldt
d50287b83c
Add `taplo.toml` for toml formatting ( #7618 )
2025-10-09 15:38:00 +02:00
Emil Ernerfeldt
843ceea90c
Use more workspace dependencies ( #7596 )
2025-10-07 15:07:16 +02:00
Andreas Reich
4c1f344ef8
Update MSRV from 1.86 to 1.88 ( #7579 )
...
Co-authored-by: Emil Ernerfeldt <emil.ernerfeldt@gmail.com>
2025-10-02 19:12:29 +02:00
Emil Ernerfeldt
531ead5ad1
Update MSRV to 1.86 ( #7469 )
2025-08-21 15:38:41 +02:00
Emil Ernerfeldt
b2995dcb83
Use Rust edition 2024 ( #7280 )
2025-06-30 14:01:57 +02:00
Emil Ernerfeldt
962c8e26a8
Update MSRV to 1.85 ( #7279 )
2025-06-30 13:43:27 +02:00
TÖRÖK Attila
fdb9aa282a
Raise MSRV to 1.84 ( #6848 )
...
Prerequisite of https://github.com/emilk/egui/pull/6744 .
See: https://github.com/gfx-rs/wgpu/pull/7218 ,
https://github.com/gfx-rs/wgpu/pull/7425
Please be aware that Rust 1.84 enables some (more) WASM extensions by
default, and ships with an `std` built with them enabled:
https://blog.rust-lang.org/2024/09/24/webassembly-targets-change-in-default-target-features/
According to `rustc +1.84 --print=cfg --target wasm32-unknown-unknown`,
these are: `multivalue`, `mutable-globals`, `reference-types`, and
`sign-ext`.
(c.f. `rustc +1.84 --print=cfg --target wasm32-unknown-unknown -C
target-cpu=mvp` enabling none.)
For reference: https://webassembly.org/features/
----
If support is desired for ancient/esoteric browsers that don't have
these implemented, there are two ways to get around this:
- Target `wasm32v1-none` instead, but that's a `no-std` target, and I
suppose a lot of dependencies don't work that way (e.g.
https://github.com/gfx-rs/wgpu/issues/6826 )
- Using the `-Ctarget-cpu=mvp` and `-Zbuild-std=panic_abort,std` flags,
and the `RUSTC_BOOTSTRAP=1` escape hatch to allow using the latter with
non-`nightly` toolchains - until
https://github.com/rust-lang/wg-cargo-std-aware is stabilized. (For
reference:
https://github.com/ruffle-rs/ruffle/pull/18528/files#diff-fb2896d189d77b35ace9a079c1ba9b55777d16e0f11ce79f776475a451b1825a )
I don't think either of these is particularly advantageous, so I suggest
just accepting that browsers will have to have some extensions
implemented to run `egui`.
2025-04-24 17:00:29 +02:00
valadaptive
d0bd525b5d
Bump accesskit to 0.18 and make it a workspace dependency ( #5783 )
...
This can't be merged until [kittest's accesskit is
bumped](https://github.com/rerun-io/kittest/pull/9 ) ~~and [a new version
of rfd is released](https://github.com/PolyMeilex/rfd/pull/240 )~~.
---------
Co-authored-by: Lucas Meurer <lucasmeurer96@gmail.com>
2025-03-20 11:00:12 +01:00
TÖRÖK Attila
a5d7cf5bd7
Upgrade to wgpu 24 ( #5610 )
2025-01-16 17:00:29 +01:00
Emil Ernerfeldt
f28080c675
Update some crates to fix CI ( #5456 )
...
> cargo update -p url
```
Locking 28 packages to latest compatible versions
Adding displaydoc v0.2.5
Adding icu_collections v1.5.0
Adding icu_locid v1.5.0
Adding icu_locid_transform v1.5.0
Adding icu_locid_transform_data v1.5.0
Adding icu_normalizer v1.5.0
Adding icu_normalizer_data v1.5.0
Adding icu_properties v1.5.1
Adding icu_properties_data v1.5.0
Adding icu_provider v1.5.0
Adding icu_provider_macros v1.5.0
Updating idna v0.5.0 -> v1.0.3
Adding idna_adapter v1.2.0
Adding litemap v0.7.4
Adding stable_deref_trait v1.2.0
Adding synstructure v0.13.1
Adding tinystr v0.7.6 (latest: v0.8.0)
Removing tinyvec v1.8.0
Removing tinyvec_macros v0.1.1
Removing unicode-bidi v0.3.17
Removing unicode-normalization v0.1.24
Updating url v2.5.2 -> v2.5.4
Adding utf16_iter v1.0.5
Adding utf8_iter v1.0.4
Adding write16 v1.0.0
Adding writeable v0.5.5 (latest: v0.6.0)
Adding yoke v0.7.5
Adding yoke-derive v0.7.5
Adding zerofrom v0.1.5
Adding zerofrom-derive v0.1.5
Adding zerovec v0.10.4 (latest: v0.11.0)
Adding zerovec-derive v0.10.3 (latest: v0.11.0)
```
holy hell that's a lot of new crates 😭
* Waiting for https://github.com/emilk/egui/pull/5457
2024-12-10 17:16:38 +01:00
Emil Ernerfeldt
53a926a428
Update MSRV to 1.80 ( #5457 )
...
Because some dependencies now require it, see:
* https://github.com/emilk/egui/pull/5456
2024-12-10 16:09:03 +01:00
Emil Ernerfeldt
328422dc62
Update MSRV to Rust 1.79 ( #5421 )
...
Mostly to fix `cargo-machete` CI
2024-12-01 18:58:35 +01:00
Cody Neiman
2cd3485dd4
Update MSRV from 1.76 to 1.77 ( #5322 )
...
<!--
Please read the "Making a PR" section of
[`CONTRIBUTING.md`](https://github.com/emilk/egui/blob/master/CONTRIBUTING.md )
before opening a Pull Request!
* Keep your PR:s small and focused.
* The PR title is what ends up in the changelog, so make it descriptive!
* If applicable, add a screenshot or gif.
* If it is a non-trivial addition, consider adding a demo for it to
`egui_demo_lib`, or a new example.
* Do NOT open PR:s from your `master` branch, as that makes it hard for
maintainers to test and add commits to your PR.
* Remember to run `cargo fmt` and `cargo clippy`.
* Open the PR as a draft until you have self-reviewed it and run
`./scripts/check.sh`.
* When you have addressed a PR comment, mark it as resolved.
Please be patient! I will review your PR, but my time is limited!
-->
* [X] I have followed the instructions in the PR template
I am preparing a separate PR that adds support for JXL with `jxl-oxide`,
which is unlikely to be added to the `image` crate anytime soon (more
context will be provided in that PR).
`jxl-oxide` makes use of the
[`array::each_mut`](https://doc.rust-lang.org/stable/std/primitive.array.html#method.each_mut )
API which was stabilized in 1.77, which is the motivation for this MSRV
bump.
Rust 1.77 was officially released to stable on 21 March, 2024.
2024-10-30 09:06:34 +01:00
Emil Ernerfeldt
2f508d6a61
Replace cargo-cranky with workspace lints ( #4413 )
...
Replace `cargo-cranky` (which has served us well) with workspace lints
2024-04-25 17:24:50 +02:00
Emil Ernerfeldt
cee790681d
Update to Rust 1.76 ( #4411 )
...
Motivation: I want to replace `cargo-cranky` with workspace lints, first
available in Rust 1.74.
However, `cargo doc` would hange on `wgpu` and `wgpu-core` on 1.74 and
1.75… so now we're on 1.76.
I think this is fine - when 1.78 is released next week we're still two
versions behind the bleeding edge.
…and the branch name is just wrong 🤦
2024-04-25 15:51:01 +02:00
Emil Ernerfeldt
6fbf7fe566
Update `ehttp` to 0.5 ( #4055 )
2024-02-16 10:57:54 +01:00
Emil Ernerfeldt
d02491425c
Put all egui crates as workspace crates ( #3976 )
...
Second attempty
2024-02-05 12:59:49 +01:00
Emil Ernerfeldt
8f2c8664e7
Emilk/revert workspace deps ( #3942 )
...
* Closes https://github.com/emilk/egui/issues/3941
Workspace dependencies can be annoying.
If you don't set them to `default-features=false`, then you cannot opt
out of their default features anywhere else, and get warnings if you
try.
So you set `default-features=false`, and then you need to manually opt
in to the default features everywhere else.
Or, as in my case, don't.
I don't have the energy to do this tonight, so I'll just revert.
2024-02-01 21:29:48 +01:00
Emil Ernerfeldt
00cd671ad8
Use workspace dependencies for the egui crates
2024-02-01 20:25:31 +01:00
Emil Ernerfeldt
c8dd3dd01a
Update dependencies ( #3700 )
...
Also disable `regex` `env_logger` feature in examples to improve compile
times.
2023-12-12 12:59:40 +01:00
Emil Ernerfeldt
bfadb90d42
Update MSRV to Rust 1.72 ( #3595 )
...
Required to update to puffin 0.18
2023-11-21 17:26:35 +01:00
Emil Ernerfeldt
82704bebbf
Update MSRV to Rust 1.70.0 ( #3310 )
...
* Update to Rust 1.70
* Fix renamed clippy lint
* Use let-else more
* Code cleanup
* Remove derelict Safety comments
* Enable more clippy lints
2023-09-06 07:59:24 +02:00
Emil Ernerfeldt
08fb447fb5
Increase MSRV to 1.67 ( #3234 )
...
* Bump MSRV to 1.67
* clippy fixes
* cargo clippy: inline format args
* Add `clippy::uninlined_format_args` to cranky lints
* Fix clippy on wasm
* More clippy fixes
2023-08-11 13:54:02 +02:00
Emil Ernerfeldt
ce761e548f
use env_logger in all examples ( #2934 )
2023-04-19 16:35:38 +02:00
Emil Ernerfeldt
449dd1c23c
cargo update ( #2697 )
...
* cargo update
Updating anyhow v1.0.68 -> v1.0.69
Updating bindgen v0.63.0 -> v0.64.0
Removing cocoa v0.24.1
Updating glutin v0.30.3 -> v0.30.4
Updating glutin_egl_sys v0.3.1 -> v0.4.0
Updating glutin_glx_sys v0.3.0 -> v0.4.0
Updating glutin_wgl_sys v0.3.0 -> v0.4.0
Updating proc-macro2 v1.0.50 -> v1.0.51
Updating rgb v0.8.34 -> v0.8.35
Updating serde_json v1.0.91 -> v1.0.92
Updating tiny-skia v0.8.2 -> v0.8.3
Updating tiny-skia-path v0.8.2 -> v0.8.3
Removing windows-sys v0.36.1
Removing windows_aarch64_msvc v0.36.1
Removing windows_i686_gnu v0.36.1
Removing windows_i686_msvc v0.36.1
Removing windows_x86_64_gnu v0.36.1
Removing windows_x86_64_msvc v0.36.1
Updating zbus v3.8.0 -> v3.9.0
Updating zbus_macros v3.8.0 -> v3.9.0
* Update wasm-bindgen to 0.2.84
* cargo update
Updating js-sys v0.3.60 -> v0.3.61
Updating wasm-bindgen-futures v0.4.33 -> v0.4.34
Updating web-sys v0.3.60 -> v0.3.61
* Update pollster to 0.3
* Update rfd to 0.11
* Make sure we never depend on cmake
2023-02-08 18:11:34 +01:00
Emil Ernerfeldt
cef0c0b6d8
Fix typo
2023-02-05 21:58:15 +01:00
Emil Ernerfeldt
48666e1d7a
Automatically generate screenshots for all examples ( #2379 )
2022-12-04 17:27:40 +01:00
Emil Ernerfeldt
eca5e6a4d2
Update to Rust 1.65 ( #2314 )
...
* Update to Rust 1.65
Because then you can use dynamic linking on Linux
* Fix a bunch of clippy lints
* Update changelogs
* More clippy fixes
2022-11-16 19:08:03 +01:00
ItsEthra
4d1e858a52
Use total_cmp for clamping drag value in order to avoid floating point ambiguities ( #2213 )
...
* Use total_cmp for clamping DragValue
* Added test for clamping
* Increase MSRV in all crates
* Increased rust version for github actions and lib.rs
* Inversed ranges are now working properply with clamp_to_range
* Added more tests
2022-11-02 19:38:39 +01:00
Emil Ernerfeldt
725aa5277b
Update crate rfd to 0.10 (in file_dialog example)
...
Also update ab_glyph from 0.2.15 to 0.2.16
2022-08-20 14:42:37 +02:00
Emil Ernerfeldt
041f2e64ba
Move all crates into a `crates` directory ( #1940 )
2022-08-20 10:41:49 +02:00
Matt Campbell
7a46a23db5
Update MSRV to Rust 1.61.0 ( #1846 )
2022-07-26 16:50:53 +02:00
Emil Ernerfeldt
2ae93c40ab
Move examples out of `eframe/examples` into `examples/` ( #1486 )
...
* Move examples out of eframe/examples into examples/
Give each example a `Cargo.toml` and `src/main.rs`.
This makes it easier for people to use as templates.
* Update README.md with more deps needed on vanilla Ubuntu
* Install libgtk-3-dev on CI, hoping that will fix something
2022-04-13 16:13:24 +02:00