Skip to content

Commit

Permalink
fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
bircni committed Oct 1, 2024
1 parent 85e3838 commit 344da73
Show file tree
Hide file tree
Showing 12 changed files with 27 additions and 16 deletions.
24 changes: 13 additions & 11 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,8 @@ suspense = ["dep:egui_suspense"]
thumbhash = ["dep:egui_thumbhash"]
tokio = ["egui_suspense/tokio", "egui_infinite_scroll/tokio"]
virtual_list = ["dep:egui_virtual_list"]
material_icons = ["dep:egui_material_icons"]
material_icons_proc_macro = ["dep:material_icons_proc_macro"]

[dependencies]
egui_animation = { workspace = true, optional = true }
Expand All @@ -61,6 +63,8 @@ egui_router = { workspace = true, optional = true }
egui_suspense = { workspace = true, optional = true }
egui_thumbhash = { workspace = true, optional = true }
egui_virtual_list = { workspace = true, optional = true }
egui_material_icons = { workspace = true, optional = true }
material_icons_proc_macro = { workspace = true, optional = true }


[workspace]
Expand All @@ -80,6 +84,8 @@ egui_suspense = { path = "./crates/egui_suspense", version = "0.5.0" }
egui_virtual_list = { path = "./crates/egui_virtual_list", version = "0.4.0" }
egui_infinite_scroll = { path = "./crates/egui_infinite_scroll", version = "0.4.0" }
egui_thumbhash = { path = "./crates/egui_thumbhash", version = "0.4.0" }
egui_material_icons = { path = "./crates/egui_material_icons", version = "0.1.0" }
material_icons_proc_macro = { path = "./crates/material_icons_proc_macro", version = "0.1.0" }
hello_egui = { path = ".", version = "0.5.0" }

egui = { version = "0.29", default-features = false }
Expand Down
3 changes: 1 addition & 2 deletions crates/egui_form/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,7 @@ mod form;
/// }
///
/// pub fn form_ui(ui: &mut egui::Ui, test: &mut Test) {
/// let mut form =
/// Form::new().add_report(egui_form::garde::GardeReport::new(test.validate()));
/// let mut form = Form::new().add_report(egui_form::garde::GardeReport::new(test.validate()));
///
/// FormField::new(&mut form, field_path!("user_name"))
/// .label("User Name")
Expand Down
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
[package]
name = "egui-material-icons"
name = "egui_material_icons"
version = "0.1.0"
edition = "2021"

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[dependencies]
egui.workspace = true
material-icons-proc-macro = { path = "../material-icons-proc-macro" }
material_icons_proc_macro.workspace = true

[dev-dependencies]
eframe.workspace = true
Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[package]
name = "material-icons-proc-macro"
name = "material_icons_proc_macro"
version = "0.1.0"
edition = "2021"

Expand Down
File renamed without changes.
4 changes: 4 additions & 0 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ pub use egui_form as form;
pub use egui_inbox as inbox;
#[cfg(feature = "infinite_scroll")]
pub use egui_infinite_scroll as infinite_scroll;
#[cfg(feature = "material_icons")]
pub use egui_material_icons as material_icons;
#[cfg(feature = "pull_to_refresh")]
pub use egui_pull_to_refresh as pull_to_refresh;
#[cfg(feature = "router")]
Expand All @@ -24,3 +26,5 @@ pub use egui_suspense as suspense;
pub use egui_thumbhash as thumbhash;
#[cfg(feature = "virtual_list")]
pub use egui_virtual_list as virtual_list;
#[cfg(feature = "material_icons_proc_macro")]
pub use material_icons_proc_macro;

0 comments on commit 344da73

Please sign in to comment.