refactor(sql): Allow multiple drivers at the same time (#1838)

* refactor(sql): Allow multiple drivers at the same time

* fmt

* remove default feature comment [skip ci]

* what was that doing there [skip ci]

* disable public methods for now
This commit is contained in:
Fabian-Lars authored and GitHub committed 2024-10-01 09:47:08 -03:00
1 parent 68579934c9
commit 30bcf5dcc2
11 files changed
+615 -393

No files matched your search

+3 -12
View File
@@ -3,17 +3,8 @@
// SPDX-License-Identifier: MIT
#[cfg(feature = "mysql")]
mod mysql;
pub(crate) mod mysql;
#[cfg(feature = "postgres")]
mod postgres;
pub(crate) mod postgres;
#[cfg(feature = "sqlite")]
mod sqlite;
#[cfg(feature = "mysql")]
pub(crate) use mysql::to_json;
#[cfg(feature = "postgres")]
pub(crate) use postgres::to_json;
#[cfg(feature = "sqlite")]
pub(crate) use sqlite::to_json;
pub(crate) mod sqlite;