-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathprelude.rs
More file actions
57 lines (48 loc) · 1.81 KB
/
Copy pathprelude.rs
File metadata and controls
57 lines (48 loc) · 1.81 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
// std crates
pub use std::collections::HashMap;
pub use std::net::UdpSocket;
pub use std::time::SystemTime;
// bevy crates
pub use bevy::app::{App, Last, Plugin, PreUpdate, Startup, Update};
pub use bevy::ecs::event::*;
pub use bevy::ecs::message::Message;
pub use bevy::ecs::message::*;
pub use bevy::ecs::resource::*;
pub use bevy::ecs::system::*;
pub use bevy::log::{debug, error, info, warn};
pub use bevy::math::*;
pub use bevy::MinimalPlugins;
// networking crates
pub use bevy_renet::netcode::NetcodeServerPlugin;
pub use bevy_renet::netcode::NetcodeServerTransport;
pub use bevy_renet::netcode::ServerAuthentication;
pub use bevy_renet::netcode::ServerConfig;
pub use bevy_renet::RenetServerPlugin;
pub use renet::DefaultChannel;
pub use renet::*;
pub use serde::Deserialize;
// other crates
pub use rayon::iter::IntoParallelIterator;
pub use rayon::iter::IntoParallelRefMutIterator;
pub use rayon::iter::ParallelIterator;
pub use clap::{Parser, Subcommand};
pub use lib::*;
pub use noise::NoiseFn;
pub use noise::Perlin;
pub use rsmc as lib;
// my crates
pub use crate::networking::resources as networking_resources;
pub use crate::networking::systems as networking_systems;
pub use crate::player::resources as player_resources;
pub use crate::player::systems as player_systems;
pub use crate::terrain::commands as terrain_commands;
pub use crate::terrain::config as terrain_config;
pub use crate::terrain::events as terrain_events;
pub use crate::terrain::resources as terrain_resources;
pub use crate::terrain::systems as terrain_systems;
pub use crate::terrain::util as terrain_util;
pub use crate::chat::events as chat_events;
pub use crate::chat::resources as chat_resources;
pub use crate::chat::systems as chat_systems;
pub use crate::config::commands as config_commands;
pub use crate::config::{Config, CONFIG, CONFIG_PATH};