fix: allow for disabling default features

This commit is contained in:
Zomatree
2025-08-12 02:35:09 +01:00
parent 050ba16d4a
commit 65fbd36624
30 changed files with 99 additions and 37 deletions

View File

@@ -25,6 +25,9 @@ pub use mongodb;
#[macro_use]
extern crate bson;
#[cfg(not(feature = "async-std-runtime"))]
compile_error!("async-std-runtime feature must be enabled.");
#[macro_export]
#[cfg(debug_assertions)]
macro_rules! query {
@@ -103,6 +106,7 @@ pub mod util;
pub use models::*;
pub mod events;
#[cfg(feature = "tasks")]
pub mod tasks;
mod amqp;