salsa 0.26.1

A generic framework for on-demand, incrementalized computation (experimental)
Documentation
1
2
3
4
5
6
7
8
#[derive(Copy, Clone, Debug, PartialEq, Eq, Hash)]
enum Token {}

#[salsa::tracked]
struct TokenTree<'db> {
    #[returns(ref)]
    tokens: Vec<Token>,
}