Skip to content

Commit

Permalink
move out core modules to modules folder
Browse files Browse the repository at this point in the history
  • Loading branch information
www committed Nov 30, 2024
1 parent 8f3c4d9 commit dea0941
Show file tree
Hide file tree
Showing 40 changed files with 32 additions and 32 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[workspace]
members = [
"modules/*",
"core/rust/*",
"core/rust.*",
"services/rust.*"
]
resolver = "2"
Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -15,16 +15,16 @@ serde_json = "1.0"
indexmap = { version = "2", features = ["serde"] }

# Anti-Raid specific
silverpelt = { path = "../rust/rust.silverpelt" }
permissions = { path = "../rust/rust.permissions" }
permission_checks = { path = "../rust/rust.permissions.checks" }
config = { path = "../rust/rust.config" }
sandwich_driver = { path = "../rust/rust.sandwich_driver" }
silverpelt = { path = "../../core/rust/rust.silverpelt" }
permissions = { path = "../../core/rust/rust.permissions" }
permission_checks = { path = "../../core/rust/rust.permissions.checks" }
config = { path = "../../core/rust/rust.config" }
sandwich_driver = { path = "../../core/rust/rust.sandwich_driver" }
rust_buildstats = { path = "../rust.buildstats" }
ar_settings = { path = "../rust/rust.settings" }
splashcore_rs = { path = "../rust/rust.std" }
templating = { path = "../rust/rust.templating" }
gwevent = { path = "../rust/rust.gwevent" }
ar_settings = { path = "../../core/rust/rust.settings" }
splashcore_rs = { path = "../../core/rust/rust.std" }
templating = { path = "../../core/rust/rust.templating" }
gwevent = { path = "../../core/rust/rust.gwevent" }
log = "0.4"

[dependencies.serenity]
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,11 @@ indexmap = { version = "2", features = ["serde"] }
async-trait = "0.1.80"

# Anti-Raid specific
silverpelt = { path = "../rust/rust.silverpelt" }
splashcore_rs = { path = "../rust/rust.std" }
ar_settings = { path = "../rust/rust.settings" }
lockdowns = { path = "../rust/rust.lockdowns" }
permission_checks = { path = "../rust/rust.permissions.checks" }
silverpelt = { path = "../../core/rust/rust.silverpelt" }
splashcore_rs = { path = "../../core/rust/rust.std" }
ar_settings = { path = "../../core/rust/rust.settings" }
lockdowns = { path = "../../core/rust/rust.lockdowns" }
permission_checks = { path = "../../core/rust/rust.permissions.checks" }

[dependencies.serenity]
git = "https://github.com/Anti-Raid/serenity"
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,12 @@ indexmap = { version = "2", features = ["serde"] }
futures-util = "0.3"

# Anti-Raid specific
splashcore_rs = { path = "../rust/rust.std" }
silverpelt = { path = "../rust/rust.silverpelt" }
permissions = { path = "../rust/rust.permissions" }
config = { path = "../rust/rust.config" }
sandwich_driver = { path = "../rust/rust.sandwich_driver" }
jobserver = { path = "../rust/rust.jobserver" }
splashcore_rs = { path = "../../core/rust/rust.std" }
silverpelt = { path = "../../core/rust/rust.silverpelt" }
permissions = { path = "../../core/rust/rust.permissions" }
config = { path = "../../core/rust/rust.config" }
sandwich_driver = { path = "../../core/rust/rust.sandwich_driver" }
jobserver = { path = "../../core/rust/rust.jobserver" }

[dependencies.serenity]
git = "https://github.com/Anti-Raid/serenity"
Expand Down
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,11 @@ futures-util = "0.3"
indexmap = { version = "2", features = ["serde"] }

# Anti-Raid specific
silverpelt = { path = "../rust/rust.silverpelt" }
permission_checks = { path = "../rust/rust.permissions.checks" }
splashcore_rs = { path = "../rust/rust.std" }
config = { path = "../rust/rust.config" }
jobserver = { path = "../rust/rust.jobserver" }
silverpelt = { path = "../../core/rust/rust.silverpelt" }
permission_checks = { path = "../../core/rust/rust.permissions.checks" }
splashcore_rs = { path = "../../core/rust/rust.std" }
config = { path = "../../core/rust/rust.config" }
jobserver = { path = "../../core/rust/rust.jobserver" }

[dependencies.serenity]
git = "https://github.com/Anti-Raid/serenity"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[dependencies]
silverpelt = { path = "../rust/rust.silverpelt" }
sandwich_driver = { path = "../rust/rust.sandwich_driver" }
splashcore_rs = { path = "../rust/rust.std" }
silverpelt = { path = "../../core/rust/rust.silverpelt" }
sandwich_driver = { path = "../../core/rust/rust.sandwich_driver" }
splashcore_rs = { path = "../../core/rust/rust.std" }
async-trait = "0.1.80"

[dependencies.serenity]
Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[dependencies]
silverpelt = { path = "../rust/rust.silverpelt" }
silverpelt = { path = "../../core/rust/rust.silverpelt" }

# Modules
bot_modules_core = { path = "../rust.bot_modules.core" }
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion services/rust.assetgen/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ permissions = { path = "../../core/rust/rust.permissions" }
silverpelt = { path = "../../core/rust/rust.silverpelt" }
templating = { path = "../../core/rust/rust.templating" }
templating_docgen = { path = "../../core/rust/rust.templating.docgen" }
bot_modules_default = { path = "../../core/rust.bot_modules_default" }
bot_modules_default = { path = "../../modules/rust.bot_modules_default" }
bot_binutils = { path = "../../core/rust/rust.binutils" }

[dependencies.tokio]
Expand Down
2 changes: 1 addition & 1 deletion services/rust.bot/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ async-trait = "0.1.80"
clap = { version = "4.5.16", features = ["derive"] }

# Modules
bot_modules_default = { path = "../../core/rust.bot_modules_default" }
bot_modules_default = { path = "../../modules/rust.bot_modules_default" }
bot_binutils = { path = "../../core/rust/rust.binutils" }
rust_rpc_server = { path = "../../core/rust/rust.rpc_server" }
rust_rpc_server_bot = { path = "../../core/rust/rust.rpc_server.bot" }
Expand Down

0 comments on commit dea0941

Please sign in to comment.