]> Untitled Git - lemmy.git/commitdiff
Move most code into crates/ subfolder
authorFelix Ableitner <me@nutomic.com>
Wed, 20 Jan 2021 15:21:27 +0000 (16:21 +0100)
committerFelix Ableitner <me@nutomic.com>
Wed, 20 Jan 2021 15:21:27 +0000 (16:21 +0100)
144 files changed:
Cargo.toml
crates/api/Cargo.toml [moved from lemmy_api/Cargo.toml with 72% similarity]
crates/api/src/claims.rs [moved from lemmy_api/src/claims.rs with 100% similarity]
crates/api/src/comment.rs [moved from lemmy_api/src/comment.rs with 100% similarity]
crates/api/src/community.rs [moved from lemmy_api/src/community.rs with 100% similarity]
crates/api/src/lib.rs [moved from lemmy_api/src/lib.rs with 100% similarity]
crates/api/src/post.rs [moved from lemmy_api/src/post.rs with 100% similarity]
crates/api/src/site.rs [moved from lemmy_api/src/site.rs with 100% similarity]
crates/api/src/user.rs [moved from lemmy_api/src/user.rs with 100% similarity]
crates/api/src/version.rs [moved from lemmy_api/src/version.rs with 100% similarity]
crates/api/src/websocket.rs [moved from lemmy_api/src/websocket.rs with 100% similarity]
crates/apub/Cargo.toml [moved from lemmy_apub/Cargo.toml with 79% similarity]
crates/apub/src/activities/mod.rs [moved from lemmy_apub/src/activities/mod.rs with 100% similarity]
crates/apub/src/activities/receive/comment.rs [moved from lemmy_apub/src/activities/receive/comment.rs with 100% similarity]
crates/apub/src/activities/receive/comment_undo.rs [moved from lemmy_apub/src/activities/receive/comment_undo.rs with 100% similarity]
crates/apub/src/activities/receive/community.rs [moved from lemmy_apub/src/activities/receive/community.rs with 100% similarity]
crates/apub/src/activities/receive/mod.rs [moved from lemmy_apub/src/activities/receive/mod.rs with 100% similarity]
crates/apub/src/activities/receive/post.rs [moved from lemmy_apub/src/activities/receive/post.rs with 100% similarity]
crates/apub/src/activities/receive/post_undo.rs [moved from lemmy_apub/src/activities/receive/post_undo.rs with 100% similarity]
crates/apub/src/activities/receive/private_message.rs [moved from lemmy_apub/src/activities/receive/private_message.rs with 100% similarity]
crates/apub/src/activities/send/comment.rs [moved from lemmy_apub/src/activities/send/comment.rs with 100% similarity]
crates/apub/src/activities/send/community.rs [moved from lemmy_apub/src/activities/send/community.rs with 100% similarity]
crates/apub/src/activities/send/mod.rs [moved from lemmy_apub/src/activities/send/mod.rs with 100% similarity]
crates/apub/src/activities/send/post.rs [moved from lemmy_apub/src/activities/send/post.rs with 100% similarity]
crates/apub/src/activities/send/private_message.rs [moved from lemmy_apub/src/activities/send/private_message.rs with 100% similarity]
crates/apub/src/activities/send/user.rs [moved from lemmy_apub/src/activities/send/user.rs with 100% similarity]
crates/apub/src/activity_queue.rs [moved from lemmy_apub/src/activity_queue.rs with 100% similarity]
crates/apub/src/extensions/context.rs [moved from lemmy_apub/src/extensions/context.rs with 100% similarity]
crates/apub/src/extensions/group_extensions.rs [moved from lemmy_apub/src/extensions/group_extensions.rs with 100% similarity]
crates/apub/src/extensions/mod.rs [moved from lemmy_apub/src/extensions/mod.rs with 100% similarity]
crates/apub/src/extensions/page_extension.rs [moved from lemmy_apub/src/extensions/page_extension.rs with 100% similarity]
crates/apub/src/extensions/signatures.rs [moved from lemmy_apub/src/extensions/signatures.rs with 100% similarity]
crates/apub/src/fetcher/community.rs [moved from lemmy_apub/src/fetcher/community.rs with 100% similarity]
crates/apub/src/fetcher/fetch.rs [moved from lemmy_apub/src/fetcher/fetch.rs with 100% similarity]
crates/apub/src/fetcher/mod.rs [moved from lemmy_apub/src/fetcher/mod.rs with 100% similarity]
crates/apub/src/fetcher/objects.rs [moved from lemmy_apub/src/fetcher/objects.rs with 100% similarity]
crates/apub/src/fetcher/search.rs [moved from lemmy_apub/src/fetcher/search.rs with 100% similarity]
crates/apub/src/fetcher/user.rs [moved from lemmy_apub/src/fetcher/user.rs with 100% similarity]
crates/apub/src/http/comment.rs [moved from lemmy_apub/src/http/comment.rs with 100% similarity]
crates/apub/src/http/community.rs [moved from lemmy_apub/src/http/community.rs with 100% similarity]
crates/apub/src/http/mod.rs [moved from lemmy_apub/src/http/mod.rs with 100% similarity]
crates/apub/src/http/post.rs [moved from lemmy_apub/src/http/post.rs with 100% similarity]
crates/apub/src/http/user.rs [moved from lemmy_apub/src/http/user.rs with 100% similarity]
crates/apub/src/inbox/community_inbox.rs [moved from lemmy_apub/src/inbox/community_inbox.rs with 100% similarity]
crates/apub/src/inbox/mod.rs [moved from lemmy_apub/src/inbox/mod.rs with 100% similarity]
crates/apub/src/inbox/receive_for_community.rs [moved from lemmy_apub/src/inbox/receive_for_community.rs with 100% similarity]
crates/apub/src/inbox/shared_inbox.rs [moved from lemmy_apub/src/inbox/shared_inbox.rs with 100% similarity]
crates/apub/src/inbox/user_inbox.rs [moved from lemmy_apub/src/inbox/user_inbox.rs with 100% similarity]
crates/apub/src/lib.rs [moved from lemmy_apub/src/lib.rs with 100% similarity]
crates/apub/src/objects/comment.rs [moved from lemmy_apub/src/objects/comment.rs with 100% similarity]
crates/apub/src/objects/community.rs [moved from lemmy_apub/src/objects/community.rs with 100% similarity]
crates/apub/src/objects/mod.rs [moved from lemmy_apub/src/objects/mod.rs with 100% similarity]
crates/apub/src/objects/post.rs [moved from lemmy_apub/src/objects/post.rs with 100% similarity]
crates/apub/src/objects/private_message.rs [moved from lemmy_apub/src/objects/private_message.rs with 100% similarity]
crates/apub/src/objects/user.rs [moved from lemmy_apub/src/objects/user.rs with 100% similarity]
crates/db_queries/Cargo.toml [moved from lemmy_db_queries/Cargo.toml with 86% similarity]
crates/db_queries/src/aggregates/comment_aggregates.rs [moved from lemmy_db_queries/src/aggregates/comment_aggregates.rs with 100% similarity]
crates/db_queries/src/aggregates/community_aggregates.rs [moved from lemmy_db_queries/src/aggregates/community_aggregates.rs with 100% similarity]
crates/db_queries/src/aggregates/mod.rs [moved from lemmy_db_queries/src/aggregates/mod.rs with 100% similarity]
crates/db_queries/src/aggregates/post_aggregates.rs [moved from lemmy_db_queries/src/aggregates/post_aggregates.rs with 100% similarity]
crates/db_queries/src/aggregates/site_aggregates.rs [moved from lemmy_db_queries/src/aggregates/site_aggregates.rs with 100% similarity]
crates/db_queries/src/aggregates/user_aggregates.rs [moved from lemmy_db_queries/src/aggregates/user_aggregates.rs with 100% similarity]
crates/db_queries/src/lib.rs [moved from lemmy_db_queries/src/lib.rs with 100% similarity]
crates/db_queries/src/source/activity.rs [moved from lemmy_db_queries/src/source/activity.rs with 100% similarity]
crates/db_queries/src/source/category.rs [moved from lemmy_db_queries/src/source/category.rs with 100% similarity]
crates/db_queries/src/source/comment.rs [moved from lemmy_db_queries/src/source/comment.rs with 100% similarity]
crates/db_queries/src/source/comment_report.rs [moved from lemmy_db_queries/src/source/comment_report.rs with 100% similarity]
crates/db_queries/src/source/community.rs [moved from lemmy_db_queries/src/source/community.rs with 100% similarity]
crates/db_queries/src/source/mod.rs [moved from lemmy_db_queries/src/source/mod.rs with 100% similarity]
crates/db_queries/src/source/moderator.rs [moved from lemmy_db_queries/src/source/moderator.rs with 100% similarity]
crates/db_queries/src/source/password_reset_request.rs [moved from lemmy_db_queries/src/source/password_reset_request.rs with 100% similarity]
crates/db_queries/src/source/post.rs [moved from lemmy_db_queries/src/source/post.rs with 100% similarity]
crates/db_queries/src/source/post_report.rs [moved from lemmy_db_queries/src/source/post_report.rs with 100% similarity]
crates/db_queries/src/source/private_message.rs [moved from lemmy_db_queries/src/source/private_message.rs with 100% similarity]
crates/db_queries/src/source/site.rs [moved from lemmy_db_queries/src/source/site.rs with 100% similarity]
crates/db_queries/src/source/user.rs [moved from lemmy_db_queries/src/source/user.rs with 100% similarity]
crates/db_queries/src/source/user_mention.rs [moved from lemmy_db_queries/src/source/user_mention.rs with 100% similarity]
crates/db_schema/Cargo.toml [moved from lemmy_db_schema/Cargo.toml with 100% similarity]
crates/db_schema/src/lib.rs [moved from lemmy_db_schema/src/lib.rs with 100% similarity]
crates/db_schema/src/schema.rs [moved from lemmy_db_schema/src/schema.rs with 100% similarity]
crates/db_schema/src/source/activity.rs [moved from lemmy_db_schema/src/source/activity.rs with 100% similarity]
crates/db_schema/src/source/category.rs [moved from lemmy_db_schema/src/source/category.rs with 100% similarity]
crates/db_schema/src/source/comment.rs [moved from lemmy_db_schema/src/source/comment.rs with 100% similarity]
crates/db_schema/src/source/comment_report.rs [moved from lemmy_db_schema/src/source/comment_report.rs with 100% similarity]
crates/db_schema/src/source/community.rs [moved from lemmy_db_schema/src/source/community.rs with 100% similarity]
crates/db_schema/src/source/mod.rs [moved from lemmy_db_schema/src/source/mod.rs with 100% similarity]
crates/db_schema/src/source/moderator.rs [moved from lemmy_db_schema/src/source/moderator.rs with 100% similarity]
crates/db_schema/src/source/password_reset_request.rs [moved from lemmy_db_schema/src/source/password_reset_request.rs with 100% similarity]
crates/db_schema/src/source/post.rs [moved from lemmy_db_schema/src/source/post.rs with 100% similarity]
crates/db_schema/src/source/post_report.rs [moved from lemmy_db_schema/src/source/post_report.rs with 100% similarity]
crates/db_schema/src/source/private_message.rs [moved from lemmy_db_schema/src/source/private_message.rs with 100% similarity]
crates/db_schema/src/source/site.rs [moved from lemmy_db_schema/src/source/site.rs with 100% similarity]
crates/db_schema/src/source/user.rs [moved from lemmy_db_schema/src/source/user.rs with 100% similarity]
crates/db_schema/src/source/user_mention.rs [moved from lemmy_db_schema/src/source/user_mention.rs with 100% similarity]
crates/db_views/Cargo.toml [moved from lemmy_db_views/Cargo.toml with 70% similarity]
crates/db_views/src/comment_report_view.rs [moved from lemmy_db_views/src/comment_report_view.rs with 100% similarity]
crates/db_views/src/comment_view.rs [moved from lemmy_db_views/src/comment_view.rs with 100% similarity]
crates/db_views/src/lib.rs [moved from lemmy_db_views/src/lib.rs with 100% similarity]
crates/db_views/src/post_report_view.rs [moved from lemmy_db_views/src/post_report_view.rs with 100% similarity]
crates/db_views/src/post_view.rs [moved from lemmy_db_views/src/post_view.rs with 100% similarity]
crates/db_views/src/private_message_view.rs [moved from lemmy_db_views/src/private_message_view.rs with 100% similarity]
crates/db_views/src/site_view.rs [moved from lemmy_db_views/src/site_view.rs with 100% similarity]
crates/db_views_actor/Cargo.toml [moved from lemmy_db_views_actor/Cargo.toml with 69% similarity]
crates/db_views_actor/src/community_follower_view.rs [moved from lemmy_db_views_actor/src/community_follower_view.rs with 100% similarity]
crates/db_views_actor/src/community_moderator_view.rs [moved from lemmy_db_views_actor/src/community_moderator_view.rs with 100% similarity]
crates/db_views_actor/src/community_user_ban_view.rs [moved from lemmy_db_views_actor/src/community_user_ban_view.rs with 100% similarity]
crates/db_views_actor/src/community_view.rs [moved from lemmy_db_views_actor/src/community_view.rs with 100% similarity]
crates/db_views_actor/src/lib.rs [moved from lemmy_db_views_actor/src/lib.rs with 100% similarity]
crates/db_views_actor/src/user_mention_view.rs [moved from lemmy_db_views_actor/src/user_mention_view.rs with 100% similarity]
crates/db_views_actor/src/user_view.rs [moved from lemmy_db_views_actor/src/user_view.rs with 100% similarity]
crates/db_views_moderator/Cargo.toml [moved from lemmy_db_views_moderator/Cargo.toml with 69% similarity]
crates/db_views_moderator/src/lib.rs [moved from lemmy_db_views_moderator/src/lib.rs with 100% similarity]
crates/db_views_moderator/src/mod_add_community_view.rs [moved from lemmy_db_views_moderator/src/mod_add_community_view.rs with 100% similarity]
crates/db_views_moderator/src/mod_add_view.rs [moved from lemmy_db_views_moderator/src/mod_add_view.rs with 100% similarity]
crates/db_views_moderator/src/mod_ban_from_community_view.rs [moved from lemmy_db_views_moderator/src/mod_ban_from_community_view.rs with 100% similarity]
crates/db_views_moderator/src/mod_ban_view.rs [moved from lemmy_db_views_moderator/src/mod_ban_view.rs with 100% similarity]
crates/db_views_moderator/src/mod_lock_post_view.rs [moved from lemmy_db_views_moderator/src/mod_lock_post_view.rs with 100% similarity]
crates/db_views_moderator/src/mod_remove_comment_view.rs [moved from lemmy_db_views_moderator/src/mod_remove_comment_view.rs with 100% similarity]
crates/db_views_moderator/src/mod_remove_community_view.rs [moved from lemmy_db_views_moderator/src/mod_remove_community_view.rs with 100% similarity]
crates/db_views_moderator/src/mod_remove_post_view.rs [moved from lemmy_db_views_moderator/src/mod_remove_post_view.rs with 100% similarity]
crates/db_views_moderator/src/mod_sticky_post_view.rs [moved from lemmy_db_views_moderator/src/mod_sticky_post_view.rs with 100% similarity]
crates/structs/Cargo.toml [moved from lemmy_structs/Cargo.toml with 56% similarity]
crates/structs/src/comment.rs [moved from lemmy_structs/src/comment.rs with 100% similarity]
crates/structs/src/community.rs [moved from lemmy_structs/src/community.rs with 100% similarity]
crates/structs/src/lib.rs [moved from lemmy_structs/src/lib.rs with 100% similarity]
crates/structs/src/post.rs [moved from lemmy_structs/src/post.rs with 100% similarity]
crates/structs/src/site.rs [moved from lemmy_structs/src/site.rs with 100% similarity]
crates/structs/src/user.rs [moved from lemmy_structs/src/user.rs with 100% similarity]
crates/structs/src/websocket.rs [moved from lemmy_structs/src/websocket.rs with 100% similarity]
crates/utils/Cargo.toml [moved from lemmy_utils/Cargo.toml with 100% similarity]
crates/utils/src/apub.rs [moved from lemmy_utils/src/apub.rs with 100% similarity]
crates/utils/src/email.rs [moved from lemmy_utils/src/email.rs with 100% similarity]
crates/utils/src/lib.rs [moved from lemmy_utils/src/lib.rs with 100% similarity]
crates/utils/src/rate_limit/mod.rs [moved from lemmy_utils/src/rate_limit/mod.rs with 100% similarity]
crates/utils/src/rate_limit/rate_limiter.rs [moved from lemmy_utils/src/rate_limit/rate_limiter.rs with 100% similarity]
crates/utils/src/request.rs [moved from lemmy_utils/src/request.rs with 100% similarity]
crates/utils/src/settings.rs [moved from lemmy_utils/src/settings.rs with 100% similarity]
crates/utils/src/test.rs [moved from lemmy_utils/src/test.rs with 100% similarity]
crates/utils/src/utils.rs [moved from lemmy_utils/src/utils.rs with 100% similarity]
crates/websocket/Cargo.toml [moved from lemmy_websocket/Cargo.toml with 75% similarity]
crates/websocket/src/chat_server.rs [moved from lemmy_websocket/src/chat_server.rs with 100% similarity]
crates/websocket/src/handlers.rs [moved from lemmy_websocket/src/handlers.rs with 100% similarity]
crates/websocket/src/lib.rs [moved from lemmy_websocket/src/lib.rs with 100% similarity]
crates/websocket/src/messages.rs [moved from lemmy_websocket/src/messages.rs with 100% similarity]

index d1bcfa2815679209f7af13f17d0dddc322331c4e..1488ed95234d61c3c1114ba10ff226c76421830b 100644 (file)
@@ -8,29 +8,29 @@ debug = 0
 
 [workspace]
 members = [
-    "lemmy_api",
-    "lemmy_apub",
-    "lemmy_utils",
-    "lemmy_db_queries",
-    "lemmy_db_schema",
-    "lemmy_db_views",
-    "lemmy_db_views_actor",
-    "lemmy_db_views_actor",
-    "lemmy_structs",
-    "lemmy_websocket",
+    "crates/api",
+    "crates/apub",
+    "crates/utils",
+    "crates/db_queries",
+    "crates/db_schema",
+    "crates/db_views",
+    "crates/db_views_actor",
+    "crates/db_views_actor",
+    "crates/structs",
+    "crates/websocket",
 ]
 
 [dependencies]
-lemmy_api = { path = "./lemmy_api" }
-lemmy_apub = { path = "./lemmy_apub" }
-lemmy_utils = { path = "./lemmy_utils" }
-lemmy_db_schema = { path = "./lemmy_db_schema" }
-lemmy_db_queries = { path = "lemmy_db_queries" }
-lemmy_db_views = { path = "./lemmy_db_views" }
-lemmy_db_views_moderator = { path = "./lemmy_db_views_moderator" }
-lemmy_db_views_actor = { path = "lemmy_db_views_actor" }
-lemmy_structs = { path = "./lemmy_structs" }
-lemmy_websocket = { path = "./lemmy_websocket" }
+lemmy_api = { path = "./crates/api" }
+lemmy_apub = { path = "./crates/apub" }
+lemmy_utils = { path = "./crates/utils" }
+lemmy_db_schema = { path = "./crates/db_schema" }
+lemmy_db_queries = { path = "./crates/db_queries" }
+lemmy_db_views = { path = "./crates/db_views" }
+lemmy_db_views_moderator = { path = "./crates/db_views_moderator" }
+lemmy_db_views_actor = { path = "./crates/db_views_actor" }
+lemmy_structs = { path = "./crates/structs" }
+lemmy_websocket = { path = "./crates/websocket" }
 diesel = "1.4.5"
 diesel_migrations = "1.4.0"
 chrono = { version = "0.4.19", features = ["serde"] }
similarity index 72%
rename from lemmy_api/Cargo.toml
rename to crates/api/Cargo.toml
index e0766df3a54407c58e29934f655befc50ed988e9..10612c38561f84aa8deefcda18fc39e71e8a8365 100644 (file)
@@ -9,15 +9,15 @@ name = "lemmy_api"
 path = "src/lib.rs"
 
 [dependencies]
-lemmy_apub = { path = "../lemmy_apub" }
-lemmy_utils = { path = "../lemmy_utils" }
-lemmy_db_queries = { path = "../lemmy_db_queries" }
-lemmy_db_schema = { path = "../lemmy_db_schema" }
-lemmy_db_views = { path = "../lemmy_db_views" }
-lemmy_db_views_moderator = { path = "../lemmy_db_views_moderator" }
-lemmy_db_views_actor = { path = "../lemmy_db_views_actor" }
-lemmy_structs = { path = "../lemmy_structs" }
-lemmy_websocket = { path = "../lemmy_websocket" }
+lemmy_apub = { path = "../apub" }
+lemmy_utils = { path = "../utils" }
+lemmy_db_queries = { path = "../db_queries" }
+lemmy_db_schema = { path = "../db_schema" }
+lemmy_db_views = { path = "../db_views" }
+lemmy_db_views_moderator = { path = "../db_views_moderator" }
+lemmy_db_views_actor = { path = "../db_views_actor" }
+lemmy_structs = { path = "../structs" }
+lemmy_websocket = { path = "../websocket" }
 diesel = "1.4.5"
 bcrypt = "0.9.0"
 chrono = { version = "0.4.19", features = ["serde"] }
similarity index 100%
rename from lemmy_api/src/lib.rs
rename to crates/api/src/lib.rs
similarity index 100%
rename from lemmy_api/src/post.rs
rename to crates/api/src/post.rs
similarity index 100%
rename from lemmy_api/src/site.rs
rename to crates/api/src/site.rs
similarity index 100%
rename from lemmy_api/src/user.rs
rename to crates/api/src/user.rs
similarity index 79%
rename from lemmy_apub/Cargo.toml
rename to crates/apub/Cargo.toml
index a524daf142b70a0b12afc2dd5902a1e81b87e351..e1f4ea64df64681f565df210af18fa7ee2014960 100644 (file)
@@ -9,13 +9,13 @@ name = "lemmy_apub"
 path = "src/lib.rs"
 
 [dependencies]
-lemmy_utils = { path = "../lemmy_utils" }
-lemmy_db_queries = { path = "../lemmy_db_queries" }
-lemmy_db_schema = { path = "../lemmy_db_schema" }
-lemmy_db_views = { path = "../lemmy_db_views" }
-lemmy_db_views_actor = { path = "../lemmy_db_views_actor" }
-lemmy_structs = { path = "../lemmy_structs" }
-lemmy_websocket = { path = "../lemmy_websocket" }
+lemmy_utils = { path = "../utils" }
+lemmy_db_queries = { path = "../db_queries" }
+lemmy_db_schema = { path = "../db_schema" }
+lemmy_db_views = { path = "../db_views" }
+lemmy_db_views_actor = { path = "../db_views_actor" }
+lemmy_structs = { path = "../structs" }
+lemmy_websocket = { path = "../websocket" }
 diesel = "1.4.5"
 activitystreams = "0.7.0-alpha.8"
 activitystreams-ext = "0.1.0-alpha.2"
similarity index 100%
rename from lemmy_apub/src/lib.rs
rename to crates/apub/src/lib.rs
similarity index 86%
rename from lemmy_db_queries/Cargo.toml
rename to crates/db_queries/Cargo.toml
index f39d89b02eab5622dbd66f59a87edfd437fd7687..5385854cb7e5f85824bc5d24f310fbce0b1d8708 100644 (file)
@@ -8,8 +8,8 @@ name = "lemmy_db_queries"
 path = "src/lib.rs"
 
 [dependencies]
-lemmy_utils = { path = "../lemmy_utils" }
-lemmy_db_schema = { path = "../lemmy_db_schema" }
+lemmy_utils = { path = "../utils" }
+lemmy_db_schema = { path = "../db_schema" }
 diesel = { version = "1.4.5", features = ["postgres","chrono","r2d2","serde_json"] }
 diesel_migrations = "1.4.0"
 chrono = { version = "0.4.19", features = ["serde"] }
similarity index 70%
rename from lemmy_db_views/Cargo.toml
rename to crates/db_views/Cargo.toml
index f166acf02fb511199bfcf848c036c682a961e722..da942b861e2045e2d510ff050a114bce41490042 100644 (file)
@@ -4,8 +4,8 @@ version = "0.1.0"
 edition = "2018"
 
 [dependencies]
-lemmy_db_queries = { path = "../lemmy_db_queries" }
-lemmy_db_schema = { path = "../lemmy_db_schema" }
+lemmy_db_queries = { path = "../db_queries" }
+lemmy_db_schema = { path = "../db_schema" }
 diesel = { version = "1.4.5", features = ["postgres","chrono","r2d2","serde_json"] }
 serde = { version = "1.0.118", features = ["derive"] }
 log = "0.4.11"
similarity index 69%
rename from lemmy_db_views_actor/Cargo.toml
rename to crates/db_views_actor/Cargo.toml
index 92c2aafe9a909aac4457c2dcf94614c65285412a..a0773181ca8a42258d6e2d03c22d28b34b839cdb 100644 (file)
@@ -4,7 +4,7 @@ version = "0.1.0"
 edition = "2018"
 
 [dependencies]
-lemmy_db_queries = { path = "../lemmy_db_queries" }
-lemmy_db_schema = { path = "../lemmy_db_schema" }
+lemmy_db_queries = { path = "../db_queries" }
+lemmy_db_schema = { path = "../db_schema" }
 diesel = { version = "1.4.5", features = ["postgres","chrono","r2d2","serde_json"] }
 serde = { version = "1.0.118", features = ["derive"] }
similarity index 69%
rename from lemmy_db_views_moderator/Cargo.toml
rename to crates/db_views_moderator/Cargo.toml
index 7df6844adc57a510eae319fe6a5b6e774146d72a..4601819809457bc2c6a767cae5f709b9600de067 100644 (file)
@@ -4,7 +4,7 @@ version = "0.1.0"
 edition = "2018"
 
 [dependencies]
-lemmy_db_queries = { path = "../lemmy_db_queries" }
-lemmy_db_schema = { path = "../lemmy_db_schema" }
+lemmy_db_queries = { path = "../db_queries" }
+lemmy_db_schema = { path = "../db_schema" }
 diesel = { version = "1.4.5", features = ["postgres","chrono","r2d2","serde_json"] }
 serde = { version = "1.0.118", features = ["derive"] }
similarity index 56%
rename from lemmy_structs/Cargo.toml
rename to crates/structs/Cargo.toml
index b6ecade5181275abcc2d79e243082a6dd624b625..36a47772f6a916e3ce7ab9c024ed3f6112c6ae2e 100644 (file)
@@ -9,12 +9,12 @@ name = "lemmy_structs"
 path = "src/lib.rs"
 
 [dependencies]
-lemmy_db_queries = { path = "../lemmy_db_queries" }
-lemmy_db_views = { path = "../lemmy_db_views" }
-lemmy_db_views_moderator = { path = "../lemmy_db_views_moderator" }
-lemmy_db_views_actor = { path = "../lemmy_db_views_actor" }
-lemmy_db_schema = { path = "../lemmy_db_schema" }
-lemmy_utils = { path = "../lemmy_utils" }
+lemmy_db_queries = { path = "../db_queries" }
+lemmy_db_views = { path = "../db_views" }
+lemmy_db_views_moderator = { path = "../db_views_moderator" }
+lemmy_db_views_actor = { path = "../db_views_actor" }
+lemmy_db_schema = { path = "../db_schema" }
+lemmy_utils = { path = "../utils" }
 serde = { version = "1.0.118", features = ["derive"] }
 log = "0.4.11"
 diesel = "1.4.5"
similarity index 75%
rename from lemmy_websocket/Cargo.toml
rename to crates/websocket/Cargo.toml
index 944760c2dd575f35a71bf3bd29a6f8bce2f9cc92..134fa0db194dea6bca69d96690c98dbdfc0c5c11 100644 (file)
@@ -9,10 +9,10 @@ name = "lemmy_websocket"
 path = "src/lib.rs"
 
 [dependencies]
-lemmy_utils = { path = "../lemmy_utils" }
-lemmy_structs = { path = "../lemmy_structs" }
-lemmy_db_queries = { path = "../lemmy_db_queries" }
-lemmy_db_schema = { path = "../lemmy_db_schema" }
+lemmy_utils = { path = "../utils" }
+lemmy_structs = { path = "../structs" }
+lemmy_db_queries = { path = "../db_queries" }
+lemmy_db_schema = { path = "../db_schema" }
 reqwest = { version = "0.10.10", features = ["json"] }
 log = "0.4.11"
 rand = "0.8.0"