aboutsummaryrefslogtreecommitdiff
path: root/src/util.rs
blob: 2d2d91189ac56c70365c53a0ac003e8890c70435 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#[cfg(not(test))]
macro_rules! use_dependency_history {
    () => {
        use $crate::dependency_history::DependencyHistory;
    };
}

#[cfg(test)]
macro_rules! use_dependency_history {
    () => {
        use $crate::dependency_history::MockDependencyHistory as DependencyHistory;
    };
}

pub(crate) use use_dependency_history;