Copy euph-api-related parts from cove

Also includes the required dependencies and some minor changes to the
module structure, as well as all the clippy and rustc warnings.
This commit is contained in:
Joscha 2022-08-18 00:46:16 +02:00
parent 629ce3ceb9
commit 1495095fa8
11 changed files with 1524 additions and 12 deletions

13
src/api.rs Normal file
View file

@ -0,0 +1,13 @@
//! Models the euphoria API at <http://api.euphoria.io/>.
mod events;
pub mod packet;
mod room_cmds;
mod session_cmds;
mod types;
pub use events::*;
pub use packet::Data;
pub use room_cmds::*;
pub use session_cmds::*;
pub use types::*;