35 releases (14 breaking)

0.19.0-alpha.2 Jan 26, 2024
0.17.0 Jan 20, 2024
0.16.4 Dec 16, 2023
0.8.0 Nov 30, 2023
0.1.0 Jan 23, 2023

#31 in Robotics

Download history 2/week @ 2024-01-01 10/week @ 2024-01-15 5/week @ 2024-01-22 2/week @ 2024-02-05 9/week @ 2024-02-19 94/week @ 2024-02-26 18/week @ 2024-03-04 15/week @ 2024-03-11 30/week @ 2024-04-01 10/week @ 2024-04-08 13/week @ 2024-04-15

53 downloads per month
Used in 3 crates

MIT/Apache

20KB
479 lines

Concoct

Crates.io version docs.rs docs CI status

Concoct is a reactive runtime for embedded systems.

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

fn app(_count: &mut i32) -> impl Task<i32> {
    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. However, I noticed the system being created was better suited for robotics or animation (where continous systems are more common than discrete ones).

Dependencies

~1MB
~21K SLoC