diff --git a/Cargo.toml b/Cargo.toml index 1861728..96878fe 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -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 } diff --git a/examples/all.rs b/examples/all.rs index 42d94d6..b9f1fcb 100644 --- a/examples/all.rs +++ b/examples/all.rs @@ -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 {