|
@ -8,7 +8,7 @@ use elseware::login::character::CharacterServerState; |
|
|
use elseware::ship::ship::ShipServerState;
|
|
|
use elseware::ship::ship::ShipServerState;
|
|
|
use elseware::ship::ship::ShipServerStateBuilder;
|
|
|
use elseware::ship::ship::ShipServerStateBuilder;
|
|
|
use elseware::entity::account::{NewUserAccountEntity, NewUserSettingsEntity};
|
|
|
use elseware::entity::account::{NewUserAccountEntity, NewUserSettingsEntity};
|
|
|
use elseware::entity::gateway::{EntityGateway, InMemoryGateway};
|
|
|
|
|
|
|
|
|
use elseware::entity::gateway::{EntityGateway, InMemoryGateway, PostgresGateway};
|
|
|
use elseware::entity::character::NewCharacterEntity;
|
|
|
use elseware::entity::character::NewCharacterEntity;
|
|
|
use elseware::entity::item::{NewItemEntity, ItemDetail, ItemLocation};
|
|
|
use elseware::entity::item::{NewItemEntity, ItemDetail, ItemLocation};
|
|
|
|
|
|
|
|
@ -48,6 +48,7 @@ fn setup_logger() { |
|
|
fn main() {
|
|
|
fn main() {
|
|
|
setup_logger();
|
|
|
setup_logger();
|
|
|
async_std::task::block_on(async move {
|
|
|
async_std::task::block_on(async move {
|
|
|
|
|
|
//let mut entity_gateway = PostgresGateway::new("localhost", "elsewhere", "elsewhere", "");
|
|
|
let mut entity_gateway = InMemoryGateway::new();
|
|
|
let mut entity_gateway = InMemoryGateway::new();
|
|
|
|
|
|
|
|
|
for i in 0..5 {
|
|
|
for i in 0..5 {
|
|
|