mirror of
https://github.com/fawney19/Aether.git
synced 2026-10-06 17:37:47 +08:00
refactor(workspace): enforce layered crate boundaries
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
//! Compatibility paths for database adapter crates.
|
||||
//!
|
||||
//! New adapter code belongs in `aether-data-postgres`, `aether-data-mysql`, or
|
||||
//! `aether-data-sqlite`. These modules preserve existing `aether_data::driver`
|
||||
//! imports while application-facing composition remains in `backend`.
|
||||
|
||||
#[cfg(feature = "mysql")]
|
||||
pub mod mysql;
|
||||
#[cfg(feature = "postgres")]
|
||||
pub mod postgres;
|
||||
#[cfg(feature = "sqlite")]
|
||||
pub mod sqlite;
|
||||
@@ -0,0 +1,3 @@
|
||||
//! Compatibility facade for the MySQL adapter crate.
|
||||
|
||||
pub use aether_data_mysql::*;
|
||||
@@ -0,0 +1,3 @@
|
||||
//! Compatibility facade for the PostgreSQL adapter crate.
|
||||
|
||||
pub use aether_data_postgres::*;
|
||||
@@ -0,0 +1,3 @@
|
||||
//! Compatibility facade for the SQLite adapter crate.
|
||||
|
||||
pub use aether_data_sqlite::*;
|
||||
Reference in New Issue
Block a user