From ce4b98ee27975f05b7f848e47c3a0305fff218f5 Mon Sep 17 00:00:00 2001 From: StarStarJ <77283933+StarStarJ@users.noreply.github.com> Date: Sat, 12 Oct 2024 14:38:00 +0200 Subject: [PATCH] Make `default_fonts` opt-out (#163) --- Cargo.toml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 57055974..9655f21e 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -21,7 +21,7 @@ license = "MIT" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] -egui = "0.29.1" +egui = { version = "0.29.1", default-features = false } # Used to fetch user folders directories = "5.0" @@ -33,8 +33,9 @@ sysinfo = { version = "0.32", default-features = false, features = ["disk"] } serde = { version = "1", features = ["derive"], optional = true } [features] -default = ["serde"] +default = ["serde", "default_fonts"] serde = ["dep:serde"] +default_fonts = ["egui/default_fonts"] [lints.rust] unsafe_code = "forbid"