combine convert sync/async features

This commit is contained in:
2023-08-08 14:22:29 +03:00
parent 7cbf5439b7
commit b768d27f83
2 changed files with 27 additions and 70 deletions
-5
View File
@@ -1,8 +1,3 @@
#[cfg(all(feature = "convert", feature = "convert_async"))]
compile_error!(
"feature \"convert\" and feature \"convert_async\" cannot be enabled at the same time"
);
#[cfg(feature = "async")]
pub mod async_db;
#[cfg(feature = "sync")]