Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/concoct-rs/concoct
- Owner: concoct-rs
- License: apache-2.0
- Created: 2023-01-11T19:04:52.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2024-02-18T18:19:09.000Z (9 months ago)
- Last Synced: 2024-10-31T11:52:28.429Z (8 days ago)
- Topics: reactive, rust
- Language: Rust
- Homepage:
- Size: 1.06 MB
- Stars: 368
- Watchers: 4
- Forks: 8
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE-APACHE
Awesome Lists containing this project
- awesome-ccamel - concoct-rs/concoct - A reactive runtime for embedded systems in Rust (Rust)
README
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).