Skip to content

Commit

Permalink
Merge pull request #36 from bircni/bump_egui
Browse files Browse the repository at this point in the history
bump egui to `0.30.0`
  • Loading branch information
ItsEthra authored Dec 18, 2024
2 parents 8633808 + 77a072f commit 4d8b2e5
Show file tree
Hide file tree
Showing 2 changed files with 36 additions and 34 deletions.
64 changes: 33 additions & 31 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,31 +1,33 @@
[package]
name = "egui-notify"
version = "0.17.0"
edition = "2021"
license = "MIT"
repository = "https://github.com/ItsEthra/egui-notify"
description = "Simple notifications library for egui"
authors = ["ItsEthra"]
readme = "README.md"

[lib]
path = "src/lib.rs"

[dependencies]
egui = { version = "0.29", default-features = false }

[dev-dependencies]
eframe = { version = "0.29", default-features = false, features = [
"default_fonts",
"glow",
] }
egui-phosphor = { git = "https://github.com/ItsEthra/egui-phosphor", branch = "main" }

[lints.rust]
unsafe_code = "forbid"

[lints.clippy]
all = { level = "deny", priority = 0 }
unwrap_used = { level = "deny", priority = 1 }
expect_used = { level = "deny", priority = 1 }
enum_glob_use = { level = "deny", priority = 2 }
[package]
name = "egui-notify"
version = "0.17.0"
edition = "2021"
license = "MIT"
repository = "https://github.com/ItsEthra/egui-notify"
description = "Simple notifications library for egui"
authors = ["ItsEthra"]
readme = "README.md"

[lib]
path = "src/lib.rs"

[dependencies]
egui = { version = "0.30", default-features = false }

[dev-dependencies]
eframe = { version = "0.30", default-features = false, features = [
"default_fonts",
"glow",
"x11",
"wayland",
] }
egui-phosphor = "0.8"

[lints.rust]
unsafe_code = "forbid"

[lints.clippy]
all = { level = "deny", priority = 0 }
unwrap_used = { level = "deny", priority = 1 }
expect_used = { level = "deny", priority = 1 }
enum_glob_use = { level = "deny", priority = 2 }
6 changes: 3 additions & 3 deletions examples/all.rs
Original file line number Diff line number Diff line change
Expand Up @@ -163,9 +163,9 @@ fn main() -> eframe::Result<()> {

let mut font_def = FontDefinitions::default();
egui_phosphor::add_to_fonts(&mut font_def, egui_phosphor::Variant::Regular);
for data in font_def.font_data.values_mut() {
data.tweak.scale = 1.25;
}
// for data in font_def.font_data.values_mut() {
// data.tweak.scale = 1.25;
// }
cc.egui_ctx.set_fonts(font_def);

Ok(Box::new(ExampleApp {
Expand Down

0 comments on commit 4d8b2e5

Please sign in to comment.