chore: added events to modules, added some docs

This commit is contained in:
əlemi 2022-08-29 02:50:14 +02:00
parent 1f32834572
commit 911ed4e212

View file

@ -1,4 +1,11 @@
//! # codemp Server
//!
//! The codemp server itself, in charge of handling the global state, merging operations from
//! all clients and synching everyone's cursor.
//!
pub mod actor; pub mod actor;
pub mod events;
pub mod service; pub mod service;
use std::sync::Arc; use std::sync::Arc;
@ -28,6 +35,5 @@ async fn main() -> Result<(), Box<dyn std::error::Error>> {
.serve(addr) .serve(addr)
.await?; .await?;
Ok(()) Ok(())
} }