#state #reactive #flux #redux #gui-framework #user-interface

no-std reducer

A predictable reactive framework for Rust apps

15 releases (stable)

3.0.1 Apr 12, 2022
3.0.0 Aug 22, 2021
2.1.1 May 23, 2020
2.0.0 Jan 12, 2020
1.1.1 Feb 5, 2019

#319 in GUI

Download history

65 downloads per month

MIT license

56KB
957 lines

Reducer docs.badge codecov.badge

A platform for reactive programming in Rust that can be used to manage the state of any kind of application. It shines when used to drive graphical user interfaces and integrates particularly well with immediate mode GUI frameworks.

Using Reducer

Reducer is available on crates.io, simply add it as a dependency in your Cargo.toml:

[dependencies]
reducer = "3.0"

and import it in your lib.rs:

use reducer::*;

The full API documentation is available on docs.rs

Examples

The examples folder contains the implementation of a simple Todo List app using Reducer and Conrod.

> cargo run --release --example conrod

Contribution

Reducer is an open source project and you're very welcome to contribute to this project by opening issues and/or pull requests, see CONTRIBUTING for general guidelines.

License

Reducer is distributed under the terms of the MIT license, see LICENSE for details.

Dependencies

~0.3–1MB
~20K SLoC