Move most code into crates/ subfolder
This commit is contained in:
parent
88284a999e
commit
3b64c58198
144 changed files with 54 additions and 54 deletions
40
Cargo.toml
40
Cargo.toml
|
@ -8,29 +8,29 @@ debug = 0
|
||||||
|
|
||||||
[workspace]
|
[workspace]
|
||||||
members = [
|
members = [
|
||||||
"lemmy_api",
|
"crates/api",
|
||||||
"lemmy_apub",
|
"crates/apub",
|
||||||
"lemmy_utils",
|
"crates/utils",
|
||||||
"lemmy_db_queries",
|
"crates/db_queries",
|
||||||
"lemmy_db_schema",
|
"crates/db_schema",
|
||||||
"lemmy_db_views",
|
"crates/db_views",
|
||||||
"lemmy_db_views_actor",
|
"crates/db_views_actor",
|
||||||
"lemmy_db_views_actor",
|
"crates/db_views_actor",
|
||||||
"lemmy_structs",
|
"crates/structs",
|
||||||
"lemmy_websocket",
|
"crates/websocket",
|
||||||
]
|
]
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
lemmy_api = { path = "./lemmy_api" }
|
lemmy_api = { path = "./crates/api" }
|
||||||
lemmy_apub = { path = "./lemmy_apub" }
|
lemmy_apub = { path = "./crates/apub" }
|
||||||
lemmy_utils = { path = "./lemmy_utils" }
|
lemmy_utils = { path = "./crates/utils" }
|
||||||
lemmy_db_schema = { path = "./lemmy_db_schema" }
|
lemmy_db_schema = { path = "./crates/db_schema" }
|
||||||
lemmy_db_queries = { path = "lemmy_db_queries" }
|
lemmy_db_queries = { path = "./crates/db_queries" }
|
||||||
lemmy_db_views = { path = "./lemmy_db_views" }
|
lemmy_db_views = { path = "./crates/db_views" }
|
||||||
lemmy_db_views_moderator = { path = "./lemmy_db_views_moderator" }
|
lemmy_db_views_moderator = { path = "./crates/db_views_moderator" }
|
||||||
lemmy_db_views_actor = { path = "lemmy_db_views_actor" }
|
lemmy_db_views_actor = { path = "./crates/db_views_actor" }
|
||||||
lemmy_structs = { path = "./lemmy_structs" }
|
lemmy_structs = { path = "./crates/structs" }
|
||||||
lemmy_websocket = { path = "./lemmy_websocket" }
|
lemmy_websocket = { path = "./crates/websocket" }
|
||||||
diesel = "1.4.5"
|
diesel = "1.4.5"
|
||||||
diesel_migrations = "1.4.0"
|
diesel_migrations = "1.4.0"
|
||||||
chrono = { version = "0.4.19", features = ["serde"] }
|
chrono = { version = "0.4.19", features = ["serde"] }
|
||||||
|
|
|
@ -9,15 +9,15 @@ name = "lemmy_api"
|
||||||
path = "src/lib.rs"
|
path = "src/lib.rs"
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
lemmy_apub = { path = "../lemmy_apub" }
|
lemmy_apub = { path = "../apub" }
|
||||||
lemmy_utils = { path = "../lemmy_utils" }
|
lemmy_utils = { path = "../utils" }
|
||||||
lemmy_db_queries = { path = "../lemmy_db_queries" }
|
lemmy_db_queries = { path = "../db_queries" }
|
||||||
lemmy_db_schema = { path = "../lemmy_db_schema" }
|
lemmy_db_schema = { path = "../db_schema" }
|
||||||
lemmy_db_views = { path = "../lemmy_db_views" }
|
lemmy_db_views = { path = "../db_views" }
|
||||||
lemmy_db_views_moderator = { path = "../lemmy_db_views_moderator" }
|
lemmy_db_views_moderator = { path = "../db_views_moderator" }
|
||||||
lemmy_db_views_actor = { path = "../lemmy_db_views_actor" }
|
lemmy_db_views_actor = { path = "../db_views_actor" }
|
||||||
lemmy_structs = { path = "../lemmy_structs" }
|
lemmy_structs = { path = "../structs" }
|
||||||
lemmy_websocket = { path = "../lemmy_websocket" }
|
lemmy_websocket = { path = "../websocket" }
|
||||||
diesel = "1.4.5"
|
diesel = "1.4.5"
|
||||||
bcrypt = "0.9.0"
|
bcrypt = "0.9.0"
|
||||||
chrono = { version = "0.4.19", features = ["serde"] }
|
chrono = { version = "0.4.19", features = ["serde"] }
|
|
@ -9,13 +9,13 @@ name = "lemmy_apub"
|
||||||
path = "src/lib.rs"
|
path = "src/lib.rs"
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
lemmy_utils = { path = "../lemmy_utils" }
|
lemmy_utils = { path = "../utils" }
|
||||||
lemmy_db_queries = { path = "../lemmy_db_queries" }
|
lemmy_db_queries = { path = "../db_queries" }
|
||||||
lemmy_db_schema = { path = "../lemmy_db_schema" }
|
lemmy_db_schema = { path = "../db_schema" }
|
||||||
lemmy_db_views = { path = "../lemmy_db_views" }
|
lemmy_db_views = { path = "../db_views" }
|
||||||
lemmy_db_views_actor = { path = "../lemmy_db_views_actor" }
|
lemmy_db_views_actor = { path = "../db_views_actor" }
|
||||||
lemmy_structs = { path = "../lemmy_structs" }
|
lemmy_structs = { path = "../structs" }
|
||||||
lemmy_websocket = { path = "../lemmy_websocket" }
|
lemmy_websocket = { path = "../websocket" }
|
||||||
diesel = "1.4.5"
|
diesel = "1.4.5"
|
||||||
activitystreams = "0.7.0-alpha.8"
|
activitystreams = "0.7.0-alpha.8"
|
||||||
activitystreams-ext = "0.1.0-alpha.2"
|
activitystreams-ext = "0.1.0-alpha.2"
|
|
@ -8,8 +8,8 @@ name = "lemmy_db_queries"
|
||||||
path = "src/lib.rs"
|
path = "src/lib.rs"
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
lemmy_utils = { path = "../lemmy_utils" }
|
lemmy_utils = { path = "../utils" }
|
||||||
lemmy_db_schema = { path = "../lemmy_db_schema" }
|
lemmy_db_schema = { path = "../db_schema" }
|
||||||
diesel = { version = "1.4.5", features = ["postgres","chrono","r2d2","serde_json"] }
|
diesel = { version = "1.4.5", features = ["postgres","chrono","r2d2","serde_json"] }
|
||||||
diesel_migrations = "1.4.0"
|
diesel_migrations = "1.4.0"
|
||||||
chrono = { version = "0.4.19", features = ["serde"] }
|
chrono = { version = "0.4.19", features = ["serde"] }
|
|
@ -4,8 +4,8 @@ version = "0.1.0"
|
||||||
edition = "2018"
|
edition = "2018"
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
lemmy_db_queries = { path = "../lemmy_db_queries" }
|
lemmy_db_queries = { path = "../db_queries" }
|
||||||
lemmy_db_schema = { path = "../lemmy_db_schema" }
|
lemmy_db_schema = { path = "../db_schema" }
|
||||||
diesel = { version = "1.4.5", features = ["postgres","chrono","r2d2","serde_json"] }
|
diesel = { version = "1.4.5", features = ["postgres","chrono","r2d2","serde_json"] }
|
||||||
serde = { version = "1.0.118", features = ["derive"] }
|
serde = { version = "1.0.118", features = ["derive"] }
|
||||||
log = "0.4.11"
|
log = "0.4.11"
|
Some files were not shown because too many files have changed in this diff Show more
Loading…
Reference in a new issue