brunocodutra / reducer

A predictable reactive framework for Rust apps inspired by Redux
https://crates.io/crates/reducer
MIT License
58 stars 1 forks source link
flux-architecture reactive-programming

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 egui.

> cargo run --release --example egui

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.