mirror of
https://github.com/emilk/egui.git
synced 2026-06-26 22:53:14 -04:00
Try to allow turning off default_fonts for all libs (#266)
This commit is contained in:
@@ -20,19 +20,23 @@ include = [
|
||||
[lib]
|
||||
|
||||
[dependencies]
|
||||
egui = { version = "0.11.0", path = "../egui" }
|
||||
egui = { version = "0.11.0", path = "../egui", default-features = false }
|
||||
epi = { version = "0.11.0", path = "../epi" }
|
||||
|
||||
# For compiling natively:
|
||||
[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
|
||||
egui_glium = { version = "0.11.0", path = "../egui_glium" }
|
||||
egui_glium = { version = "0.11.0", path = "../egui_glium", default-features = false }
|
||||
|
||||
# For compiling to web:
|
||||
[target.'cfg(target_arch = "wasm32")'.dependencies]
|
||||
egui_web = { version = "0.11.0", path = "../egui_web" }
|
||||
egui_web = { version = "0.11.0", path = "../egui_web", default-features = false }
|
||||
|
||||
[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 = ["egui_glium/http", "egui_web/http"]
|
||||
persistence = ["epi/persistence", "egui_glium/persistence", "egui_web/persistence"]
|
||||
screen_reader = ["egui_glium/screen_reader", "egui_web/screen_reader"] # experimental
|
||||
|
||||
Reference in New Issue
Block a user