Skip to content

Commit

Permalink
Add egui_flex to hello_egui
Browse files Browse the repository at this point in the history
  • Loading branch information
lucasmerlin committed Sep 11, 2024
1 parent 267482b commit 6a31d85
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 1 deletion.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down
1 change: 1 addition & 0 deletions Cargo.lock

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

4 changes: 3 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"]
Expand All @@ -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 }
Expand Down
2 changes: 2 additions & 0 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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")]
Expand Down

0 comments on commit 6a31d85

Please sign in to comment.