move patch_server to own crate
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
d5ddfdb847
commit
d71287ef9a
@ -19,6 +19,7 @@ members = [
|
||||
"shops",
|
||||
"stats",
|
||||
"trade",
|
||||
"patch_server",
|
||||
]
|
||||
|
||||
[workspace.dependencies]
|
||||
@ -35,6 +36,7 @@ client = { path = "./client" }
|
||||
drops = { path = "./drops" }
|
||||
trade = { path = "./trade" }
|
||||
room = { path = "./room" }
|
||||
patch_server = { path = "./patch_server" }
|
||||
|
||||
libpso = { git = "http://git.sharnoth.com/jake/libpso" }
|
||||
|
||||
@ -80,6 +82,7 @@ client = { workspace = true }
|
||||
drops = { workspace = true }
|
||||
trade = { workspace = true }
|
||||
room = { workspace = true }
|
||||
patch_server = { workspace = true }
|
||||
|
||||
libpso = { workspace = true }
|
||||
|
||||
|
15
patch_server/Cargo.toml
Normal file
15
patch_server/Cargo.toml
Normal file
@ -0,0 +1,15 @@
|
||||
[package]
|
||||
name = "patch_server"
|
||||
version = "0.1.0"
|
||||
edition = "2021"
|
||||
|
||||
[dependencies]
|
||||
networking = { workspace = true }
|
||||
|
||||
libpso = { workspace = true }
|
||||
|
||||
async-trait = { workspace = true }
|
||||
rand = { workspace = true }
|
||||
crc = { workspace = true }
|
||||
ron = { workspace = true }
|
||||
serde = { workspace = true }
|
@ -4,7 +4,7 @@ use log::{info};
|
||||
use networking::interserver::AuthToken;
|
||||
use elseware::login::login::LoginServerState;
|
||||
use elseware::login::character::CharacterServerState;
|
||||
use elseware::patch::{PatchServerState, generate_patch_tree, load_config, load_motd};
|
||||
use patch_server::{PatchServerState, generate_patch_tree, load_config, load_motd};
|
||||
use elseware::ship::ship::ShipServerStateBuilder;
|
||||
|
||||
use maps::Holiday;
|
||||
|
@ -1,4 +1,4 @@
|
||||
use elseware::patch::{PatchServerState, generate_patch_tree, load_config_env, load_motd};
|
||||
use patch_server::{PatchServerState, generate_patch_tree, load_config_env, load_motd};
|
||||
use log::info;
|
||||
|
||||
fn main() {
|
||||
|
@ -10,6 +10,6 @@ extern crate test;
|
||||
|
||||
//pub mod common;
|
||||
//pub mod entity;
|
||||
pub mod patch;
|
||||
//pub mod patch;
|
||||
pub mod login;
|
||||
pub mod ship;
|
||||
|
Loading…
x
Reference in New Issue
Block a user