Reducer
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 well with both immediate mode and retained mode GUI frameworks.
Using Reducer
Reducer is available on crates.io, simply add it as a dependency in your Cargo.toml
:
[dependencies]
reducer = "1.0"
and import it in your lib.rs
:
extern crate reducer;
use reducer::*;
The full API documentation is available on docs.rs
Examples
To see Reducer in action, check out the examples directory, which includes a number of implementations of a simple Todo List app using Reducer to drive various popular GUI frameworks.
To run an example in particular, you can execute
> cargo run --release --example <NAME>
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.