Make the tracing macros optional.
This commit is contained in:
@@ -13,7 +13,7 @@ use crate::error::Res;
|
||||
use crate::parser::util::start_of_line;
|
||||
use crate::parser::HorizontalRule;
|
||||
|
||||
#[tracing::instrument(ret, level = "debug")]
|
||||
#[cfg_attr(feature = "tracing", tracing::instrument(ret, level = "debug"))]
|
||||
pub fn horizontal_rule<'r, 's>(
|
||||
context: Context<'r, 's>,
|
||||
input: &'s str,
|
||||
|
||||
Reference in New Issue
Block a user