docs.rs failed to build lemna-0.4.0
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Visit the last successful build:
lemna-0.2.1
lemna
A Reactive UI framework for Rust
Features:
- React-esque stateful UI
- Flexbox-like layout engine
- Global styling
- Configurable rendering targets (currently just wgpu, which offers cross-platform GPU-accelerated rendering)
- Configurable windowing backends (baseview, winit, wx-rs)
- Cross-platform
- Components can be built using a combination of other components and graphical primitives that map well to GPU renderers.
- State and render-state is cached, so state changes only trigger recompute of the relevant nodes
- Built in components/widgets:
Div
, a scrollable containerButton
, a button that supports tool tipsRadioButtons
, arrays of selectable buttonsToggle
, a simple state-toggling buttonText
, some textTextBox
, a box for entering textCanvas
, for displaying raster images, including drawing to a blank canvasSelection
, a dropdown menuRoundedRect
, a stylable-rectangle
- OpenIconic icons built-in
- wgpu rendering backend batches primitives together to use few calls out to wgpu (which makes it a lot faster than things that don't do this!)
- nih-plug support in the lemna-nih-plug package
What's missing:
- More robust and more widgets (e.g. text selection support on
Text
widget)
Running
Select your preferred windowing backend:
cargo run -p lemna-baseview --example hello
cargo run -p lemna-wx-rs --example hello
cargo run -p lemna-winit --example scroll
See ./backends/**/**examples
for other examples. Note that wx-rs presently has compilation limitations on most platforms, and winit does not handle many events. The Baseview backend is not on cargo (because baseview itself is not) but it is the most functional.