blob: c8c35d69a1032cb6d4998cbc272bb88b13240dfd (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
#![feature(async_fn_in_trait)]
//! Incria is a library for incremental computation.
//! It lets you record what a calculation depends on and then only re-run that calculation once one of those dependencies has changed.
//!
//! This is similar to the [query system used by the Rust compiler](https://rustc-dev-guide.rust-lang.org/query.html), but implemented using async.
//! By seperating the tracking of dependencies from the calculation logic, you can write clean code that re-runs only when it needs to, and can be parallelised with little extra work.
pub mod deps;
mod mapping;
pub mod thunk;
pub use mapping::Mapper;
|