pub struct Options {
pub off: bool,
pub bound: usize,
pub explain: bool,
pub krate: TokenStream,
pub effects: EffectConfig,
pub yield_every: Option<u32>,
pub profile: bool,
pub owned_files: bool,
pub baseline: Option<Baseline>,
}Expand description
Options from #[psync::graph(bound = N, explain, off, crate = path)].
Fields§
§off: boolCompile the function as written (hints are only removed), for comparisons.
bound: usizeMaximum loop iterations running ahead at once (default 16).
explain: boolPrint the dependency graph to stderr at expansion time.
krate: TokenStreamPath to the psync crate in generated code (default ::psync).
effects: EffectConfigstrict, speculate and effects(read(..), write(..), ordered(..)).
yield_every: Option<u32>yield_every = N: every loop of async code yields to the executor every N iterations.
profile: boolCompile the function as written, timing every statement that awaits (psync::profile).
owned_files: boolFiles are compared by what they are (device and inode, resolved path) at run time, not by
how their paths are spelled. On by default; path_text turns it off.
baseline: Option<Baseline>baseline = resync: schedule the way an earlier tool would, for comparisons only.