Skip to content

Commit

Permalink
Add egui_form to hello_egui
Browse files Browse the repository at this point in the history
  • Loading branch information
lucasmerlin committed May 4, 2024
1 parent d5ebbe0 commit f3e8a9b
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 5 deletions.
12 changes: 7 additions & 5 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,18 +14,20 @@ tag-prefix = "hello_egui-"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[features]
all = ["dnd", "inbox", "pull_to_refresh", "animation", "suspense", "virtual_list", "infinite_scroll", "thumbhash"]
all = ["animation", "dnd", "form", "inbox", "infinite_scroll", "pull_to_refresh", "suspense", "thumbhash", "virtual_list"]
full = ["all", "async", "tokio"]

animation = ["dep:egui_animation"]
async = ["egui_suspense/async", "egui_infinite_scroll/async"]
dnd = ["dep:egui_dnd"]
form = ["dep:egui_form"]
inbox = ["dep:egui_inbox"]
infinite_scroll = ["dep:egui_infinite_scroll"]
pull_to_refresh = ["dep:egui_pull_to_refresh"]
animation = ["dep:egui_animation"]
suspense = ["dep:egui_suspense"]
virtual_list = ["dep:egui_virtual_list"]
infinite_scroll = ["dep:egui_infinite_scroll"]
thumbhash = ["dep:egui_thumbhash"]
async = ["egui_suspense/async", "egui_infinite_scroll/async"]
tokio = ["egui_suspense/tokio", "egui_infinite_scroll/tokio"]
virtual_list = ["dep:egui_virtual_list"]

[dependencies]
egui_animation = { 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 = "form")]
pub use egui_form as form;
#[cfg(feature = "inbox")]
pub use egui_inbox as inbox;
#[cfg(feature = "infinite_scroll")]
Expand Down

0 comments on commit f3e8a9b

Please sign in to comment.