From c72b94e620ed845a101fbe26bce4c9d26f84f738 Mon Sep 17 00:00:00 2001 From: Allan Zhang <6740989+allan2@users.noreply.github.com> Date: Mon, 15 Dec 2025 09:56:12 -0500 Subject: [PATCH] chore: remove extern --- src/lib.rs | 4 ---- tests/indexes.rs | 3 +-- tests/some_operations.rs | 3 +-- 3 files changed, 2 insertions(+), 8 deletions(-) diff --git a/src/lib.rs b/src/lib.rs index 197ee72..6ae474c 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -85,10 +85,6 @@ //! # rt.block_on(demo()); //! ``` -#[macro_use] -#[cfg(test)] -extern crate pretty_assertions; - mod index; mod macros; mod repository; diff --git a/tests/indexes.rs b/tests/indexes.rs index c0b6cff..e234217 100644 --- a/tests/indexes.rs +++ b/tests/indexes.rs @@ -1,5 +1,4 @@ -#[macro_use] -extern crate pretty_assertions; +use pretty_assertions::assert_eq; use mongodb::Client; use mongodb::bson::{Document, doc}; diff --git a/tests/some_operations.rs b/tests/some_operations.rs index c0241f0..3b88fd6 100644 --- a/tests/some_operations.rs +++ b/tests/some_operations.rs @@ -1,5 +1,4 @@ -#[macro_use] -extern crate pretty_assertions; +use pretty_assertions::assert_eq; use futures_util::StreamExt; use mongodm::prelude::*;