diff --git a/parser/src/lexer.rs b/parser/src/lexer.rs index f4862b3..45f5ca8 100644 --- a/parser/src/lexer.rs +++ b/parser/src/lexer.rs @@ -38,6 +38,7 @@ use crate::{ string::FStringErrorType, token::{StringKind, Tok}, }; +use log::trace; use num_bigint::BigInt; use num_traits::{Num, Zero}; use std::{char, cmp::Ordering, ops::Index, slice::SliceIndex, str::FromStr}; diff --git a/parser/src/lib.rs b/parser/src/lib.rs index bc97074..9516932 100644 --- a/parser/src/lib.rs +++ b/parser/src/lib.rs @@ -112,8 +112,6 @@ #![doc(html_logo_url = "https://raw.githubusercontent.com/RustPython/RustPython/main/logo.png")] #![doc(html_root_url = "https://docs.rs/rustpython-parser/")] -#[macro_use] -extern crate log; pub use rustpython_ast as ast; mod function;