mirror of
https://github.com/emilk/egui.git
synced 2026-06-26 22:53:14 -04:00
Move all crates into a crates directory (#1940)
This commit is contained in:
@@ -9,4 +9,4 @@ publish = false
|
||||
|
||||
|
||||
[dependencies]
|
||||
eframe = { path = "../../eframe" }
|
||||
eframe = { path = "../../crates/eframe" }
|
||||
|
||||
@@ -9,6 +9,6 @@ publish = false
|
||||
|
||||
|
||||
[dependencies]
|
||||
eframe = { path = "../../eframe", features = ["glow"] }
|
||||
egui_glow = { path = "../../egui_glow" }
|
||||
eframe = { path = "../../crates/eframe", features = ["glow"] }
|
||||
egui_glow = { path = "../../crates/egui_glow" }
|
||||
glow = "0.11"
|
||||
|
||||
@@ -11,8 +11,8 @@ publish = false
|
||||
crate-type = ["cdylib", "rlib"]
|
||||
|
||||
[dependencies]
|
||||
eframe = { path = "../../eframe", features = ["glow"] }
|
||||
egui_glow = { path = "../../egui_glow" }
|
||||
eframe = { path = "../../crates/eframe", features = ["glow"] }
|
||||
egui_glow = { path = "../../crates/egui_glow" }
|
||||
glow = "0.11"
|
||||
three-d = { version = "0.13", default-features = false }
|
||||
|
||||
|
||||
@@ -9,4 +9,4 @@ publish = false
|
||||
|
||||
|
||||
[dependencies]
|
||||
eframe = { path = "../../eframe" }
|
||||
eframe = { path = "../../crates/eframe" }
|
||||
|
||||
@@ -19,7 +19,9 @@ fn setup_custom_fonts(ctx: &egui::Context) {
|
||||
// .ttf and .otf files supported.
|
||||
fonts.font_data.insert(
|
||||
"my_font".to_owned(),
|
||||
egui::FontData::from_static(include_bytes!("../../../epaint/fonts/Hack-Regular.ttf")),
|
||||
egui::FontData::from_static(include_bytes!(
|
||||
"../../../crates/epaint/fonts/Hack-Regular.ttf"
|
||||
)),
|
||||
);
|
||||
|
||||
// Put my font first (highest priority) for proportional text:
|
||||
|
||||
@@ -9,4 +9,4 @@ publish = false
|
||||
|
||||
|
||||
[dependencies]
|
||||
eframe = { path = "../../eframe" }
|
||||
eframe = { path = "../../crates/eframe" }
|
||||
|
||||
@@ -9,4 +9,4 @@ publish = false
|
||||
|
||||
|
||||
[dependencies]
|
||||
eframe = { path = "../../eframe" }
|
||||
eframe = { path = "../../crates/eframe" }
|
||||
|
||||
@@ -9,8 +9,8 @@ publish = false
|
||||
|
||||
|
||||
[dependencies]
|
||||
eframe = { path = "../../eframe" }
|
||||
egui_extras = { path = "../../egui_extras", features = ["image"] }
|
||||
eframe = { path = "../../crates/eframe" }
|
||||
egui_extras = { path = "../../crates/egui_extras", features = ["image"] }
|
||||
ehttp = "0.2"
|
||||
image = { version = "0.24", default-features = false, features = ["jpeg"] }
|
||||
poll-promise = "0.1"
|
||||
|
||||
@@ -9,5 +9,5 @@ publish = false
|
||||
|
||||
|
||||
[dependencies]
|
||||
eframe = { path = "../../eframe" }
|
||||
eframe = { path = "../../crates/eframe" }
|
||||
rfd = "0.8"
|
||||
|
||||
@@ -9,4 +9,4 @@ publish = false
|
||||
|
||||
|
||||
[dependencies]
|
||||
eframe = { path = "../../eframe" }
|
||||
eframe = { path = "../../crates/eframe" }
|
||||
|
||||
@@ -9,6 +9,6 @@ publish = false
|
||||
|
||||
|
||||
[dependencies]
|
||||
eframe = { path = "../../eframe", features = ["puffin"] }
|
||||
eframe = { path = "../../crates/eframe", features = ["puffin"] }
|
||||
puffin = "0.13"
|
||||
puffin_http = "0.10"
|
||||
|
||||
@@ -9,6 +9,6 @@ publish = false
|
||||
|
||||
|
||||
[dependencies]
|
||||
eframe = { path = "../../eframe" }
|
||||
egui_extras = { path = "../../egui_extras", features = ["image"] }
|
||||
eframe = { path = "../../crates/eframe" }
|
||||
egui_extras = { path = "../../crates/egui_extras", features = ["image"] }
|
||||
image = { version = "0.24", default-features = false, features = ["png"] }
|
||||
|
||||
@@ -9,6 +9,6 @@ publish = false
|
||||
|
||||
|
||||
[dependencies]
|
||||
eframe = { path = "../../eframe" }
|
||||
egui_extras = { path = "../../egui_extras", features = ["image"] }
|
||||
eframe = { path = "../../crates/eframe" }
|
||||
egui_extras = { path = "../../crates/egui_extras", features = ["image"] }
|
||||
itertools = "0.10.3"
|
||||
|
||||
@@ -9,4 +9,4 @@ publish = false
|
||||
|
||||
|
||||
[dependencies]
|
||||
eframe = { path = "../../eframe" }
|
||||
eframe = { path = "../../crates/eframe" }
|
||||
|
||||
@@ -9,5 +9,5 @@ publish = false
|
||||
|
||||
|
||||
[dependencies]
|
||||
eframe = { path = "../../eframe" }
|
||||
egui_extras = { path = "../../egui_extras", features = ["svg"] }
|
||||
eframe = { path = "../../crates/eframe" }
|
||||
egui_extras = { path = "../../crates/egui_extras", features = ["svg"] }
|
||||
|
||||
Reference in New Issue
Block a user