egui_widget_ext

Crates.ioegui_widget_ext
lib.rsegui_widget_ext
version0.3.0
created_at2025-05-30 00:39:27.117076+00
updated_at2025-07-14 14:01:23.005683+00
descriptionSet of useful generic EGUI widgets.
homepage
repositoryhttps://github.com/blackberryfloat/egui_widget_ext
max_upload_size
id1694574
size172,114
Blackberry Float (blackberryfloat)

documentation

https://docs.rs/egui_widget_ext

README

Last Release Status CI Status Issues docs.rs Sponsor

Egui Widget Extension Pack

This repo is intended to expand on egui's widgets to include a host of functionality we expect to be standard in web development.

Features

There is basically a feature flag for each widget. The idea behind this crate is to allow you to be surgical as possible about what UI functionality you bring in.

  • all - alias for including all widgets supported by this library
  • toggle_switch - simple toggle switch widget
  • alert - simple widget for displaying alerts

License

Licensed under either of the following:

Contribution

Public contribution is welcome and encouraged. Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.

Documentation

All documentation that is associated with a specific block of code, should be documented inline per the rust documentation expectations. This documentation should be available in the auto geenrated rust docs. Documentation of more complex technical concepts surrounding this crate as a whole should be put in markdown files in the docs folder. Everything else such as crate requirements, installation instructions, etc should be documented in this README.md.

Code Standards

  • all code should be formatted per cargo's default fmt command
  • code should target 80% automated code coverage
  • widgets should follow a style pattern that mimics widgets produced by the core egui team

Release Process

Releases are managed through both git tags and branches. Branches are used for convenience and tags actually trigger the relevant release actions. Whenever there is a new major or minor release a branch must be created at the relevant hash in the format v<major>.<minor> (ie v1.33). Branches with such a format are protected by a ruleset and can only be modified by admins. All release tags must point to hashes on said branch. There is also a ruleset protecting all git tags matching the semantic versioning format v*.*.* so that only admins can add such tags.

Major or Minor Release

In summary, you must be an admin and complete the following steps:

  • pick a hash
  • confirm all automated tests have passed
  • create a branch at the relevant hash in the format v<major>.<minor> (ie v1.33).
  • if necessary perform any last minuted changes
  • create a git tag pointing to the tip of that branch in the format v<major>.<minor>.0 (ie v1.33.0).

The git tag will kick off an automated process that deploys the crate to crates.io after validating crate version matches the tag version and all automated tests pass.

Commit count: 8

cargo fmt