Some checks failed
Build and Test / super-mario-maker (push) Failing after 3m59s
Build and Test / wii-u-chat (push) Successful in 4m31s
Build and Test / wii-sports-club (push) Successful in 4m58s
Build and Test / splatoon (push) Successful in 5m15s
Build and Test / sonic-transformed (push) Successful in 5m15s
Build and Test / splatoon-testfire (push) Successful in 5m15s
Build and Test / friends (push) Successful in 5m23s
Build and Test / mario-tennis (push) Successful in 5m24s
Build and Test / puyopuyo (push) Successful in 5m28s
Build and Test / fast-racing-neo (push) Successful in 5m43s
Build and Test / minecraft-wiiu (push) Successful in 5m43s
32 lines
814 B
Rust
32 lines
814 B
Rust
use rnex_base::BaseModule;
|
|
#[cfg(feature = "datastore")]
|
|
use rnex_ds::DatastoreModule;
|
|
#[cfg(feature = "friends")]
|
|
use rnex_fpd::FriendsModule;
|
|
#[cfg(feature = "match-making")]
|
|
use rnex_mm::MatchMakeModule;
|
|
#[cfg(feature = "messaging")]
|
|
use rnex_msg::MessagingModule;
|
|
#[cfg(feature = "ranking")]
|
|
use rnex_rk::RankingModule;
|
|
|
|
use rnex_server::{ConnectionInitData, launch_rnex_module_server};
|
|
|
|
#[tokio::main]
|
|
async fn main() {
|
|
launch_rnex_module_server! {
|
|
ConnectionInitData;
|
|
BaseModule,
|
|
#[cfg(feature="match-making")]
|
|
MatchMakeModule,
|
|
#[cfg(feature="datastore")]
|
|
DatastoreModule,
|
|
#[cfg(feature="friends")]
|
|
FriendsModule,
|
|
#[cfg(feature="ranking")]
|
|
RankingModule,
|
|
#[cfg(feature="messaging")]
|
|
MessagingModule
|
|
|
|
}
|
|
}
|