Browse Source

move all the crate dirs back under src/

pull/135/head
jake 1 year ago
committed by andy
parent
commit
0d710fad45
  1. 89
      Cargo.toml
  2. 0
      src/client/Cargo.toml
  3. 0
      src/client/src/lib.rs
  4. 0
      src/drops/Cargo.toml
  5. 0
      src/drops/src/box_drop_table.rs
  6. 0
      src/drops/src/generic_armor.rs
  7. 0
      src/drops/src/generic_shield.rs
  8. 0
      src/drops/src/generic_unit.rs
  9. 0
      src/drops/src/generic_weapon.rs
  10. 0
      src/drops/src/lib.rs
  11. 0
      src/drops/src/rare_drop_table.rs
  12. 0
      src/drops/src/tech_table.rs
  13. 0
      src/drops/src/tool_table.rs
  14. 0
      src/entity/Cargo.toml
  15. 0
      src/entity/src/account.rs
  16. 0
      src/entity/src/character.rs
  17. 0
      src/entity/src/gateway/entitygateway.rs
  18. 0
      src/entity/src/gateway/inmemory.rs
  19. 0
      src/entity/src/gateway/mod.rs
  20. 0
      src/entity/src/gateway/postgres/migrations/V0001__initial.sql
  21. 0
      src/entity/src/gateway/postgres/migrations/V0002__equips.sql
  22. 0
      src/entity/src/gateway/postgres/migrations/V0003__item_notes.sql
  23. 0
      src/entity/src/gateway/postgres/migrations/V0004__meseta.sql
  24. 0
      src/entity/src/gateway/postgres/migrations/V0005__trade.sql
  25. 0
      src/entity/src/gateway/postgres/migrations/V0006__playtime.sql
  26. 0
      src/entity/src/gateway/postgres/migrations/V0007__player_keyconfig.sql
  27. 0
      src/entity/src/gateway/postgres/migrations/V0008__playtime_not_null.sql
  28. 0
      src/entity/src/gateway/postgres/migrations/V0009__no_player_keyconfig.sql
  29. 0
      src/entity/src/gateway/postgres/migrations/V0010__char_create_timestamp.sql
  30. 0
      src/entity/src/gateway/postgres/migrations/V0011__shared_bank.sql
  31. 0
      src/entity/src/gateway/postgres/migrations/V0012__room.sql
  32. 0
      src/entity/src/gateway/postgres/migrations/V0013__room2.sql
  33. 0
      src/entity/src/gateway/postgres/migrations/mod.rs
  34. 0
      src/entity/src/gateway/postgres/mod.rs
  35. 0
      src/entity/src/gateway/postgres/models.rs
  36. 0
      src/entity/src/gateway/postgres/postgres.rs
  37. 0
      src/entity/src/item/armor.rs
  38. 0
      src/entity/src/item/esweapon.rs
  39. 0
      src/entity/src/item/mag.rs
  40. 0
      src/entity/src/item/mod.rs
  41. 0
      src/entity/src/item/shield.rs
  42. 0
      src/entity/src/item/tech.rs
  43. 0
      src/entity/src/item/tool.rs
  44. 0
      src/entity/src/item/unit.rs
  45. 0
      src/entity/src/item/weapon.rs
  46. 0
      src/entity/src/lib.rs
  47. 0
      src/entity/src/room.rs
  48. 0
      src/entity/src/team.rs
  49. 0
      src/items/Cargo.toml
  50. 0
      src/items/src/actions.rs
  51. 0
      src/items/src/apply_item.rs
  52. 0
      src/items/src/bank.rs
  53. 0
      src/items/src/floor.rs
  54. 0
      src/items/src/inventory.rs
  55. 0
      src/items/src/itemstateaction.rs
  56. 0
      src/items/src/lib.rs
  57. 0
      src/items/src/manager.rs
  58. 0
      src/items/src/state.rs
  59. 0
      src/items/src/tasks.rs
  60. 0
      src/items/src/trade.rs
  61. 0
      src/location/Cargo.toml
  62. 0
      src/location/src/lib.rs
  63. 0
      src/login_server/Cargo.toml
  64. 0
      src/login_server/src/character.rs
  65. 0
      src/login_server/src/lib.rs
  66. 0
      src/login_server/src/login.rs
  67. 0
      src/maps/Cargo.toml
  68. 0
      src/maps/src/area.rs
  69. 0
      src/maps/src/enemy.rs
  70. 0
      src/maps/src/lib.rs
  71. 0
      src/maps/src/maps.rs
  72. 0
      src/maps/src/monster.rs
  73. 0
      src/maps/src/object.rs
  74. 0
      src/maps/src/room.rs
  75. 0
      src/maps/src/variant.rs
  76. 0
      src/networking/Cargo.toml
  77. 0
      src/networking/src/cipherkeys.rs
  78. 0
      src/networking/src/interserver.rs
  79. 0
      src/networking/src/lib.rs
  80. 0
      src/networking/src/mainloop/client.rs
  81. 0
      src/networking/src/mainloop/interserver.rs
  82. 0
      src/networking/src/mainloop/mod.rs
  83. 0
      src/networking/src/serverstate.rs
  84. 0
      src/patch_server/Cargo.toml
  85. 0
      src/patch_server/src/lib.rs
  86. 0
      src/pktbuilder/Cargo.toml
  87. 0
      src/pktbuilder/src/character.rs
  88. 0
      src/pktbuilder/src/lib.rs
  89. 0
      src/pktbuilder/src/lobby.rs
  90. 0
      src/pktbuilder/src/message.rs
  91. 0
      src/pktbuilder/src/quest.rs
  92. 0
      src/pktbuilder/src/room.rs
  93. 0
      src/pktbuilder/src/ship.rs
  94. 0
      src/pktbuilder/src/team.rs
  95. 0
      src/pktbuilder/src/trade.rs
  96. 0
      src/quests/Cargo.toml
  97. 0
      src/quests/src/lib.rs
  98. 0
      src/room/Cargo.toml
  99. 0
      src/room/src/lib.rs
  100. 0
      src/ship_server/Cargo.toml

89
Cargo.toml

@ -6,41 +6,41 @@ edition = "2021"
[workspace]
members = [
"client",
"drops",
"entity",
"items",
"location",
"maps",
"networking",
"pktbuilder",
"quests",
"room",
"shops",
"stats",
"trade",
"patch_server",
"login_server",
"ship_server",
"src/client",
"src/drops",
"src/entity",
"src/items",
"src/location",
"src/maps",
"src/networking",
"src/pktbuilder",
"src/quests",
"src/room",
"src/shops",
"src/stats",
"src/trade",
"src/patch_server",
"src/login_server",
"src/ship_server",
]
[workspace.dependencies]
entity = { path = "./entity" }
maps = { path = "./maps" }
networking = { path = "./networking" }
shops = { path = "./shops" }
stats = { path = "./stats" }
items = { path = "./items" }
pktbuilder = { path = "./pktbuilder" }
quests = { path = "./quests" }
location = { path = "./location" }
client = { path = "./client" }
drops = { path = "./drops" }
trade = { path = "./trade" }
room = { path = "./room" }
patch_server = { path = "./patch_server" }
login_server = { path = "./login_server" }
ship_server = { path = "./ship_server" }
entity = { path = "./src/entity" }
maps = { path = "./src/maps" }
networking = { path = "./src/networking" }
shops = { path = "./src/shops" }
stats = { path = "./src/stats" }
items = { path = "./src/items" }
pktbuilder = { path = "./src/pktbuilder" }
quests = { path = "./src/quests" }
location = { path = "./src/location" }
client = { path = "./src/client" }
drops = { path = "./src/drops" }
trade = { path = "./src/trade" }
room = { path = "./src/room" }
patch_server = { path = "./src/patch_server" }
login_server = { path = "./src/login_server" }
ship_server = { path = "./src/ship_server" }
libpso = { git = "http://git.sharnoth.com/jake/libpso" }
@ -76,32 +76,23 @@ anyhow = { version = "1.0.68", features = ["backtrace"] }
entity = { workspace = true }
maps = { workspace = true }
networking = { workspace = true }
shops = { workspace = true }
stats = { workspace = true }
items = { workspace = true }
pktbuilder = { workspace = true }
quests = { workspace = true }
location = { workspace = true }
client = { workspace = true }
drops = { workspace = true }
trade = { workspace = true }
room = { workspace = true }
patch_server = { workspace = true }
login_server = { workspace = true }
ship_server = { workspace = true }
libpso = { workspace = true }
anyhow = { workspace = true }
async-std = { workspace = true }
async-trait = { workspace = true }
bcrypt = { workspace = true }
chrono = { workspace = true }
crc = { workspace = true }
fern = { workspace = true }
futures = { workspace = true }
log = { workspace = true }
rand = { workspace = true }
ron = { workspace = true }
serde = { workspace = true }
thiserror = { workspace = true }
[dev-dependencies]
drops = { workspace = true }
shops = { workspace = true }
items = { workspace = true }
quests = { workspace = true }
stats = { workspace = true }
async-trait = { workspace = true }

0
client/Cargo.toml → src/client/Cargo.toml

0
client/src/lib.rs → src/client/src/lib.rs

0
drops/Cargo.toml → src/drops/Cargo.toml

0
drops/src/box_drop_table.rs → src/drops/src/box_drop_table.rs

0
drops/src/generic_armor.rs → src/drops/src/generic_armor.rs

0
drops/src/generic_shield.rs → src/drops/src/generic_shield.rs

0
drops/src/generic_unit.rs → src/drops/src/generic_unit.rs

0
drops/src/generic_weapon.rs → src/drops/src/generic_weapon.rs

0
drops/src/lib.rs → src/drops/src/lib.rs

0
drops/src/rare_drop_table.rs → src/drops/src/rare_drop_table.rs

0
drops/src/tech_table.rs → src/drops/src/tech_table.rs

0
drops/src/tool_table.rs → src/drops/src/tool_table.rs

0
entity/Cargo.toml → src/entity/Cargo.toml

0
entity/src/account.rs → src/entity/src/account.rs

0
entity/src/character.rs → src/entity/src/character.rs

0
entity/src/gateway/entitygateway.rs → src/entity/src/gateway/entitygateway.rs

0
entity/src/gateway/inmemory.rs → src/entity/src/gateway/inmemory.rs

0
entity/src/gateway/mod.rs → src/entity/src/gateway/mod.rs

0
entity/src/gateway/postgres/migrations/V0001__initial.sql → src/entity/src/gateway/postgres/migrations/V0001__initial.sql

0
entity/src/gateway/postgres/migrations/V0002__equips.sql → src/entity/src/gateway/postgres/migrations/V0002__equips.sql

0
entity/src/gateway/postgres/migrations/V0003__item_notes.sql → src/entity/src/gateway/postgres/migrations/V0003__item_notes.sql

0
entity/src/gateway/postgres/migrations/V0004__meseta.sql → src/entity/src/gateway/postgres/migrations/V0004__meseta.sql

0
entity/src/gateway/postgres/migrations/V0005__trade.sql → src/entity/src/gateway/postgres/migrations/V0005__trade.sql

0
entity/src/gateway/postgres/migrations/V0006__playtime.sql → src/entity/src/gateway/postgres/migrations/V0006__playtime.sql

0
entity/src/gateway/postgres/migrations/V0007__player_keyconfig.sql → src/entity/src/gateway/postgres/migrations/V0007__player_keyconfig.sql

0
entity/src/gateway/postgres/migrations/V0008__playtime_not_null.sql → src/entity/src/gateway/postgres/migrations/V0008__playtime_not_null.sql

0
entity/src/gateway/postgres/migrations/V0009__no_player_keyconfig.sql → src/entity/src/gateway/postgres/migrations/V0009__no_player_keyconfig.sql

0
entity/src/gateway/postgres/migrations/V0010__char_create_timestamp.sql → src/entity/src/gateway/postgres/migrations/V0010__char_create_timestamp.sql

0
entity/src/gateway/postgres/migrations/V0011__shared_bank.sql → src/entity/src/gateway/postgres/migrations/V0011__shared_bank.sql

0
entity/src/gateway/postgres/migrations/V0012__room.sql → src/entity/src/gateway/postgres/migrations/V0012__room.sql

0
entity/src/gateway/postgres/migrations/V0013__room2.sql → src/entity/src/gateway/postgres/migrations/V0013__room2.sql

0
entity/src/gateway/postgres/migrations/mod.rs → src/entity/src/gateway/postgres/migrations/mod.rs

0
entity/src/gateway/postgres/mod.rs → src/entity/src/gateway/postgres/mod.rs

0
entity/src/gateway/postgres/models.rs → src/entity/src/gateway/postgres/models.rs

0
entity/src/gateway/postgres/postgres.rs → src/entity/src/gateway/postgres/postgres.rs

0
entity/src/item/armor.rs → src/entity/src/item/armor.rs

0
entity/src/item/esweapon.rs → src/entity/src/item/esweapon.rs

0
entity/src/item/mag.rs → src/entity/src/item/mag.rs

0
entity/src/item/mod.rs → src/entity/src/item/mod.rs

0
entity/src/item/shield.rs → src/entity/src/item/shield.rs

0
entity/src/item/tech.rs → src/entity/src/item/tech.rs

0
entity/src/item/tool.rs → src/entity/src/item/tool.rs

0
entity/src/item/unit.rs → src/entity/src/item/unit.rs

0
entity/src/item/weapon.rs → src/entity/src/item/weapon.rs

0
entity/src/lib.rs → src/entity/src/lib.rs

0
entity/src/room.rs → src/entity/src/room.rs

0
entity/src/team.rs → src/entity/src/team.rs

0
items/Cargo.toml → src/items/Cargo.toml

0
items/src/actions.rs → src/items/src/actions.rs

0
items/src/apply_item.rs → src/items/src/apply_item.rs

0
items/src/bank.rs → src/items/src/bank.rs

0
items/src/floor.rs → src/items/src/floor.rs

0
items/src/inventory.rs → src/items/src/inventory.rs

0
items/src/itemstateaction.rs → src/items/src/itemstateaction.rs

0
items/src/lib.rs → src/items/src/lib.rs

0
items/src/manager.rs → src/items/src/manager.rs

0
items/src/state.rs → src/items/src/state.rs

0
items/src/tasks.rs → src/items/src/tasks.rs

0
items/src/trade.rs → src/items/src/trade.rs

0
location/Cargo.toml → src/location/Cargo.toml

0
location/src/lib.rs → src/location/src/lib.rs

0
login_server/Cargo.toml → src/login_server/Cargo.toml

0
login_server/src/character.rs → src/login_server/src/character.rs

0
login_server/src/lib.rs → src/login_server/src/lib.rs

0
login_server/src/login.rs → src/login_server/src/login.rs

0
maps/Cargo.toml → src/maps/Cargo.toml

0
maps/src/area.rs → src/maps/src/area.rs

0
maps/src/enemy.rs → src/maps/src/enemy.rs

0
maps/src/lib.rs → src/maps/src/lib.rs

0
maps/src/maps.rs → src/maps/src/maps.rs

0
maps/src/monster.rs → src/maps/src/monster.rs

0
maps/src/object.rs → src/maps/src/object.rs

0
maps/src/room.rs → src/maps/src/room.rs

0
maps/src/variant.rs → src/maps/src/variant.rs

0
networking/Cargo.toml → src/networking/Cargo.toml

0
networking/src/cipherkeys.rs → src/networking/src/cipherkeys.rs

0
networking/src/interserver.rs → src/networking/src/interserver.rs

0
networking/src/lib.rs → src/networking/src/lib.rs

0
networking/src/mainloop/client.rs → src/networking/src/mainloop/client.rs

0
networking/src/mainloop/interserver.rs → src/networking/src/mainloop/interserver.rs

0
networking/src/mainloop/mod.rs → src/networking/src/mainloop/mod.rs

0
networking/src/serverstate.rs → src/networking/src/serverstate.rs

0
patch_server/Cargo.toml → src/patch_server/Cargo.toml

0
patch_server/src/lib.rs → src/patch_server/src/lib.rs

0
pktbuilder/Cargo.toml → src/pktbuilder/Cargo.toml

0
pktbuilder/src/character.rs → src/pktbuilder/src/character.rs

0
pktbuilder/src/lib.rs → src/pktbuilder/src/lib.rs

0
pktbuilder/src/lobby.rs → src/pktbuilder/src/lobby.rs

0
pktbuilder/src/message.rs → src/pktbuilder/src/message.rs

0
pktbuilder/src/quest.rs → src/pktbuilder/src/quest.rs

0
pktbuilder/src/room.rs → src/pktbuilder/src/room.rs

0
pktbuilder/src/ship.rs → src/pktbuilder/src/ship.rs

0
pktbuilder/src/team.rs → src/pktbuilder/src/team.rs

0
pktbuilder/src/trade.rs → src/pktbuilder/src/trade.rs

0
quests/Cargo.toml → src/quests/Cargo.toml

0
quests/src/lib.rs → src/quests/src/lib.rs

0
room/Cargo.toml → src/room/Cargo.toml

0
room/src/lib.rs → src/room/src/lib.rs

0
ship_server/Cargo.toml → src/ship_server/Cargo.toml

Some files were not shown because too many files changed in this diff

Loading…
Cancel
Save