mirror of
https://git.ngram.ca/OpenJam/rc-servers
synced 2026-08-23 23:08:52 +00:00
Move common components to shared lib
This commit is contained in:
13
rc_core/src/persist/config/mod.rs
Normal file
13
rc_core/src/persist/config/mod.rs
Normal file
@@ -0,0 +1,13 @@
|
||||
mod cubes_json;
|
||||
pub use cubes_json::CubeConfig;
|
||||
|
||||
mod traits;
|
||||
pub use traits::{ConfigProvider, CompleteCampaignProvider};
|
||||
|
||||
pub type ConfigImpl = CubeConfig;
|
||||
|
||||
fn __must_impl<T: ConfigProvider<()>>() {}
|
||||
|
||||
fn __test_impl() {
|
||||
__must_impl::<ConfigImpl>();
|
||||
}
|
||||
Reference in New Issue
Block a user