diff options
Diffstat (limited to '')
| -rw-r--r-- | askama/src/lib.rs | 18 | 
1 files changed, 9 insertions, 9 deletions
| diff --git a/askama/src/lib.rs b/askama/src/lib.rs index 8806490..a98989e 100644 --- a/askama/src/lib.rs +++ b/askama/src/lib.rs @@ -171,6 +171,15 @@ impl fmt::Display for dyn DynTemplate {      }  } +/// Old build script helper to rebuild crates if contained templates have changed +/// +/// This function is now deprecated and does nothing. +#[deprecated( +    since = "0.8.1", +    note = "file-level dependency tracking is handled automatically without build script" +)] +pub fn rerun_if_templates_changed() {} +  #[cfg(test)]  mod tests {      use std::fmt; @@ -217,12 +226,3 @@ mod tests {          assert_eq!(vec, vec![b't', b'e', b's', b't']);      }  } - -/// Old build script helper to rebuild crates if contained templates have changed -/// -/// This function is now deprecated and does nothing. -#[deprecated( -    since = "0.8.1", -    note = "file-level dependency tracking is handled automatically without build script" -)] -pub fn rerun_if_templates_changed() {} | 
