1
0
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:
Emil Ernerfeldt
2021-04-07 20:14:44 +02:00
committed by GitHub
parent d544c3dd8b
commit b30cb3313a
5 changed files with 22 additions and 10 deletions

View File

@@ -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",