ra_ap_salsa 0.0.212

A generic framework for on-demand, incrementalized computation (experimental)
Documentation
1
2
3
4
5
6
7
8
9
10
11
#[salsa::query_group(MyStruct)]
trait MyDatabase: salsa::Database {
    #[salsa::invoke(another_module::another_name)]
    fn my_query(&self, key: ()) -> ();
}

mod another_module {
    pub(crate) fn another_name(_: &dyn crate::MyDatabase, (): ()) {}
}

fn main() {}