Skip to content

Commit

Permalink
Make default_fonts opt-out (fluxxcode#163)
Browse files Browse the repository at this point in the history
  • Loading branch information
StarStarJ authored Oct 12, 2024
1 parent 30a14e9 commit ce4b98e
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand All @@ -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"
Expand Down

0 comments on commit ce4b98e

Please sign in to comment.