egui/crates/epaint/src
Nicolas 1488ffa35a
Use `log` crate instead of `eprintln` & remove some unwraps (#5010)
<!--
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!
-->

- I fixed the TODO to use the `log` crate instead of `eprintln`
- Set the rust-version in the `scripts/check.sh` to the same as egui is
on
- I made xtask use anyhow to remove some unwraps 

* [x] I have followed the instructions in the PR template
2024-09-13 14:23:13 +02:00
..
text Add `Context::request_discard` (#5059) 2024-09-13 14:20:51 +02:00
util Add `emath::OrderedFloat` (moved from `epaint::util::OrderedFloat`) (#4389) 2024-04-21 20:36:32 +02:00
bezier.rs Remove wildcard imports (#5018) 2024-08-28 12:18:42 +02:00
color.rs Added ability to define colors at UV coordinates along a path (#4353) 2024-04-22 18:35:09 +02:00
image.rs Add `ColorImage::from_gray_iter` (#3536) 2024-02-20 15:29:23 +01:00
lib.rs Remove wildcard imports (#5018) 2024-08-28 12:18:42 +02:00
margin.rs Overload operators for `Rect + Margin`, `Rect - Margin` etc (#4277) 2024-03-30 14:03:41 +01:00
mesh.rs Remove wildcard imports (#5018) 2024-08-28 12:18:42 +02:00
mutex.rs Make `epaint::mutex::RwLock` allow `?Sized` types (#4485) 2024-05-13 12:49:31 +02:00
shadow.rs Fix typo 2024-09-01 10:23:40 +02:00
shape.rs Remove wildcard imports (#5018) 2024-08-28 12:18:42 +02:00
shape_transform.rs Remove wildcard imports (#5018) 2024-08-28 12:18:42 +02:00
stats.rs Remove wildcard imports (#5018) 2024-08-28 12:18:42 +02:00
stroke.rs Fix blurry lines (#4943) 2024-08-30 09:57:32 +02:00
tessellator.rs Use `log` crate instead of `eprintln` & remove some unwraps (#5010) 2024-09-13 14:23:13 +02:00
texture_atlas.rs Fix buggy text withviewports on monitors with different scales (#3666) 2023-11-30 15:56:05 +01:00
texture_handle.rs Improved texture loading (#3315) 2023-09-12 10:39:17 +02:00
textures.rs Remove `extra_asserts` and `extra_debug_asserts` feature flags (#4478) 2024-05-10 19:39:08 +02:00