Skip to main content

uni_plugin/adapters/
mod.rs

1// SPDX-License-Identifier: Apache-2.0
2// Copyright 2024-2026 Dragonscale Team
3
4//! Adapters that bridge one plugin surface to another.
5//!
6//! Adapters are pure plumbing — they take an `Arc<dyn TraitA>` and
7//! expose it as a `dyn TraitB` so a host that already consumes B
8//! doesn't need new plumbing to reach plugins authored against A.
9//!
10//! Adapters live here (not in `traits/`) because they are deliberately
11//! cross-trait: putting `StorageCatalogTable` next to
12//! [`crate::traits::storage::Storage`] would imply a `Storage` ↔
13//! `CatalogTable` coupling that doesn't exist at the trait level.
14
15// Rust guideline compliant
16
17pub mod catalog_from_storage;
18
19pub use catalog_from_storage::StorageCatalogTable;