#widgets #gui-framework #kivy

suzy

GUI framework based on observer pattern

5 unstable releases

0.2.0 Mar 13, 2021
0.1.0 Nov 10, 2020
0.0.3 Oct 13, 2020
0.0.2 Sep 20, 2020
0.0.1 Aug 30, 2020

#396 in GUI

Download history 3/week @ 2024-03-28 1/week @ 2024-04-04 120/week @ 2024-06-06 17/week @ 2024-06-13

137 downloads per month

MPL-2.0 license

3MB
11K SLoC

crates.io docs.rs Build Status MPL-2.0 License

Suzy is a GUI framework in Rust based on the observer pattern. Inspired heavily by the kivy framework for Python.

Project Goals:

  • Explicit layout by default - the first-class layout support is to write declaritive code which describes the relationship between GUI elements.
  • Productivity - The automatic observer patern enables rapid prototyping.
  • Multitouch by default - mouse and touchscreen input is unified, unless explicitly distinguished by the application.

Secondary Project Goals

  • BYO - Although the declaritive, observer pattern style is prescribed, very little else is: non-optional dependencies are minimized in favor of "glue" that allows applications to choose their own set of utilities for tasks such as image loading, windowing, etc.
  • Embeddebility - You should be able to use Suzy as a library within e.g. a game engine, as long as the graphics interface is compatible.
  • Performance - GUIs made using Suzy are light-weight. It is uncommon that GUI code is a bottleneck for real-world applications.

Dependencies

~0.1–2.6MB
~57K SLoC