diff --git a/CHANGELOG.md b/CHANGELOG.md index 4b3103e..0d680b3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,9 @@ # hello_egui changelog +## unreleased + +- introducing [egui_flex](https://crates.io/crates/egui_flex), a subset of flexbox for egui + ## 0.5.0 - update all crates for egui 0.28 support diff --git a/Cargo.lock b/Cargo.lock index f05820d..343c9c3 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -2565,6 +2565,7 @@ version = "0.5.0" dependencies = [ "egui_animation", "egui_dnd", + "egui_flex", "egui_form", "egui_inbox", "egui_infinite_scroll", diff --git a/Cargo.toml b/Cargo.toml index c96b153..de587a3 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -15,12 +15,13 @@ tag-prefix = "hello_egui-" all-features = true [features] -all = ["animation", "dnd", "form", "inbox", "infinite_scroll", "pull_to_refresh", "router", "suspense", "thumbhash", "virtual_list"] +all = ["animation", "dnd", "flex", "form", "inbox", "infinite_scroll", "pull_to_refresh", "router", "suspense", "thumbhash", "virtual_list"] full = ["all", "async", "tokio"] animation = ["dep:egui_animation"] async = ["egui_suspense/async", "egui_infinite_scroll/async", "egui_router/async", "egui_inbox/async"] dnd = ["dep:egui_dnd"] +flex = ["dep:egui_flex"] form = ["dep:egui_form"] inbox = ["dep:egui_inbox"] infinite_scroll = ["dep:egui_infinite_scroll"] @@ -35,6 +36,7 @@ virtual_list = ["dep:egui_virtual_list"] egui_animation = { workspace = true, optional = true } egui_dnd = { workspace = true, optional = true } egui_inbox = { workspace = true, optional = true } +egui_flex = { workspace = true, optional = true } egui_form = { workspace = true, optional = true } egui_infinite_scroll = { workspace = true, optional = true } egui_pull_to_refresh = { workspace = true, optional = true } diff --git a/src/lib.rs b/src/lib.rs index 7aa77e5..e3edc88 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -6,6 +6,8 @@ pub use egui_animation as animation; #[cfg(feature = "dnd")] pub use egui_dnd as dnd; +#[cfg(feature = "flex")] +pub use egui_flex as flex; #[cfg(feature = "form")] pub use egui_form as form; #[cfg(feature = "inbox")]