rustey 0.1.0

An implementation of the Elm architecture in Rust
Documentation
  • Coverage
  • 0%
    0 out of 24 items documented0 out of 20 items with examples
  • Size
  • Source code size: 21.98 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 3 MB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 34s Average build duration of successful builds.
  • all releases: 45s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • jacobat

Rustey

The Elm Architecture for Rust.

An implementation of the Elm Architecture for Rust.

Components

The Elm Architecture consists of a small number of components that play nicely together. The core element is the model. When the application starts the init function is called to retrieve the initial model. After initialization the view function is called to render the user interface. Once rendering is done the application will wait for events. Events are emitted by the functions the application is subscribed to. The subscriptions function will emit a number of such functions based on the state of the model. Each function will run in a thread of it's own and emit events as relevant.

The model is updated by the update function as it reacts to messages.