Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/concoct-rs/concoct

A reactive runtime for embedded systems in Rust
https://github.com/concoct-rs/concoct

reactive rust

Last synced: 4 days ago
JSON representation

A reactive runtime for embedded systems in Rust

Awesome Lists containing this project

README

        


Concoct


Crates.io version


docs.rs docs


CI status


Concoct is a reactive runtime for embedded systems.

```rust
use concoct::{
task::{self, Task},
System,
};

fn app(_count: &mut i32) -> impl Task {
task::from_fn(|_| dbg!("Hello World!"))
}

fn main() {
let mut system = System::new(0, app);
system.build();
system.rebuild();
}
```

## Goals
This crate is intended to provide a generic reactive system for a wide range of use cases. It was originally intended for user-interfaces, and is inspired by [xilem](https://github.com/linebender/xilem). However, I noticed the system being created was better suited for robotics or animation (where continous systems are more common than discrete ones).