mirror of
https://git.ngram.ca/OpenJam/rc-servers
synced 2026-08-23 23:08:52 +00:00
14 lines
498 B
Rust
14 lines
498 B
Rust
mod cubes_json;
|
|
pub use cubes_json::CubeConfig;
|
|
|
|
mod traits;
|
|
pub use traits::{ConfigProvider, CompleteCampaignProvider, DevMessageProvider, ServerConfig, GarageUpgrades, GarageUpgradeIncrement, ChatSystemConfig, GameEventSequence, GameEvents, GameRotationStrategy, GameEvent, GameMap, GameVisibility, GameType, SingleplayerConfig, VehicleInfo, VehicleDescriptor};
|
|
|
|
pub type ConfigImpl = CubeConfig;
|
|
|
|
fn __must_impl<T: ConfigProvider<()>>() {}
|
|
|
|
fn __test_impl() {
|
|
__must_impl::<ConfigImpl>();
|
|
}
|