Make the tracing macros optional.
This commit is contained in:
@@ -44,7 +44,7 @@ impl<'r, 's> ContextTree<'r, 's> {
|
||||
self.tree.iter()
|
||||
}
|
||||
|
||||
#[tracing::instrument(ret, level = "debug")]
|
||||
#[cfg_attr(feature = "tracing", tracing::instrument(ret, level = "debug"))]
|
||||
pub fn check_exit_matcher(
|
||||
&'r self,
|
||||
i: &'s str,
|
||||
|
||||
Reference in New Issue
Block a user