mirror of
https://github.com/emilk/egui.git
synced 2026-06-27 15:13:12 -04:00
Try to allow turning off default_fonts for all libs (#266)
This commit is contained in:
@@ -22,7 +22,7 @@ include = [
|
||||
crate-type = ["cdylib", "rlib"]
|
||||
|
||||
[dependencies]
|
||||
egui = { version = "0.11.0", path = "../egui" }
|
||||
egui = { version = "0.11.0", path = "../egui", default-features = false, features = ["single_threaded"] }
|
||||
epi = { version = "0.11.0", path = "../epi" }
|
||||
js-sys = "0.3"
|
||||
ron = { version = "0.6", optional = true }
|
||||
@@ -32,7 +32,11 @@ wasm-bindgen = "0.2"
|
||||
wasm-bindgen-futures = "0.4"
|
||||
|
||||
[features]
|
||||
default = []
|
||||
default = ["default_fonts"]
|
||||
|
||||
# If set, egui will use `include_bytes!` to bundle some fonts.
|
||||
# If you plan on specifying your own fonts you may disable this feature.
|
||||
default_fonts = ["egui/default_fonts"]
|
||||
http = [
|
||||
"epi/http",
|
||||
"web-sys/Headers",
|
||||
|
||||
Reference in New Issue
Block a user