Emil Ernerfeldt
00cd671ad8
Use workspace dependencies for the egui crates
2024-02-01 20:25:31 +01:00
Emil Ernerfeldt
67b796faee
Misc cleanup ( #3935 )
...
* Improve docstring
* Nicer welcome gif in README
* Misc cleanup
2024-02-01 17:09:35 +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
39e60e367f
Use `egui::ViewportBuilder` in `eframe::NativeOptions` ( #3572 )
...
* Part of https://github.com/emilk/egui/issues/3556
This PR replaces a bunch of options in `eframe::NativeOptions` with
`egui::ViewportBuilder`. For instance:
``` diff
let options = eframe::NativeOptions {
- initial_window_size: Some(egui::vec2(320.0, 240.0)),
- drag_and_drop_support: true,
+ viewport: egui::ViewportBuilder::default()
+ .with_inner_size([320.0, 240.0])
+ .with_drag_and_drop(true),
centered: true,
..Default::default()
};
```
2023-11-19 11:08:47 +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
cccdfd246e
Cleanup ahead of release
2023-05-23 19:53:32 +02:00
Emil Ernerfeldt
b2281c46e4
Update example screenshots
2023-05-23 13:38:02 +02:00
Emil Ernerfeldt
ce761e548f
use env_logger in all examples ( #2934 )
2023-04-19 16:35:38 +02:00
Emil Ernerfeldt
9c9a54ce36
Replace `tracing` with `log` ( #2928 )
...
* Replace tracing crate with log
It's just so much simpler to use
* Add `bacon wasm` job
* eframe: add a WebLogger for piping log events to the web console
2023-04-18 21:11:26 +02:00
Emil Ernerfeldt
af4d737c92
Fix typo. Closes https://github.com/emilk/egui/pull/2876
2023-04-18 16:11:53 +02:00
Emil Ernerfeldt
92c4e23aac
eframe: add a simplified native-only API for simple native apps ( #2453 )
...
* eframe: add a simplified native-only API for simple native apps
* build-fix
* Fix doc-test
2023-03-30 10:00:47 +02:00