[package]
name = "lemmy_server"
-version = "0.0.1"
+version = "0.15.0-rc.6"
edition = "2018"
+description = "A link aggregator for the fediverse"
+license = "AGPL-3.0"
+homepage = "https://join-lemmy.org/"
+documentation = "https://join-lemmy.org/docs/en/index.html"
-[profile.release]
-lto = true
+[lib]
+doctest = false
+
+[profile.dev]
+debug = 0
[workspace]
members = [
- "lemmy_api",
- "lemmy_apub",
- "lemmy_utils",
- "lemmy_db",
- "lemmy_structs",
- "lemmy_rate_limit",
- "lemmy_websocket",
+ "crates/api",
+ "crates/api_crud",
+ "crates/api_common",
+ "crates/apub_lib",
+ "crates/apub_lib_derive",
+ "crates/apub",
+ "crates/utils",
+ "crates/db_schema",
+ "crates/db_views",
+ "crates/db_views_actor",
+ "crates/db_views_actor",
+ "crates/websocket",
+ "crates/routes"
]
[dependencies]
-lemmy_api = { path = "./lemmy_api" }
-lemmy_apub = { path = "./lemmy_apub" }
-lemmy_utils = { path = "./lemmy_utils" }
-lemmy_db = { path = "./lemmy_db" }
-lemmy_structs = { path = "./lemmy_structs" }
-lemmy_rate_limit = { path = "./lemmy_rate_limit" }
-lemmy_websocket = { path = "./lemmy_websocket" }
-diesel = "1.4"
-diesel_migrations = "1.4"
-chrono = { version = "0.4", features = ["serde"] }
-serde = { version = "1.0", features = ["derive"] }
-actix = "0.10"
-actix-web = { version = "3.1", default-features = false, features = ["rustls"] }
-actix-files = { version = "0.4", default-features = false }
-actix-web-actors = { version = "3.0", default-features = false }
-awc = { version = "2.0", default-features = false }
-log = "0.4"
-env_logger = "0.8"
-strum = "0.19"
-lazy_static = "1.3"
-rss = "1.9"
-url = { version = "2.1", features = ["serde"] }
-openssl = "0.10"
-http-signature-normalization-actix = { version = "0.4", default-features = false, features = ["sha-2"] }
-tokio = "0.3"
-sha2 = "0.9"
-anyhow = "1.0"
-reqwest = { version = "0.10", features = ["json"] }
-activitystreams = "0.7.0-alpha.4"
-actix-rt = { version = "1.1", default-features = false }
-serde_json = { version = "1.0", features = ["preserve_order"]}
-ctor = "0.1.16"
+lemmy_api = { version = "=0.15.0-rc.6", path = "./crates/api" }
+lemmy_api_crud = { version = "=0.15.0-rc.6", path = "./crates/api_crud" }
+lemmy_apub = { version = "=0.15.0-rc.6", path = "./crates/apub" }
+lemmy_apub_lib = { version = "=0.15.0-rc.6", path = "./crates/apub_lib" }
+lemmy_utils = { version = "=0.15.0-rc.6", path = "./crates/utils" }
+lemmy_db_schema = { version = "=0.15.0-rc.6", path = "./crates/db_schema" }
+lemmy_db_views = { version = "=0.15.0-rc.6", path = "./crates/db_views" }
+lemmy_db_views_moderator = { version = "=0.15.0-rc.6", path = "./crates/db_views_moderator" }
+lemmy_db_views_actor = { version = "=0.15.0-rc.6", path = "./crates/db_views_actor" }
+lemmy_api_common = { version = "=0.15.0-rc.6", path = "crates/api_common" }
+lemmy_websocket = { version = "=0.15.0-rc.6", path = "./crates/websocket" }
+lemmy_routes = { version = "=0.15.0-rc.6", path = "./crates/routes" }
+diesel = "1.4.8"
+diesel_migrations = "1.4.0"
+chrono = { version = "0.4.19", features = ["serde"] }
+serde = { version = "1.0.131", features = ["derive"] }
+actix = "0.12.0"
+actix-web = { version = "4.0.0-beta.14", default-features = false, features = ["rustls"] }
+tracing = "0.1.29"
+tracing-actix-web = { version = "0.5.0-beta.5", default-features = false }
+tracing-error = "0.2.0"
+tracing-log = "0.1.2"
+tracing-subscriber = { version = "0.3.3", features = ["env-filter"] }
+strum = "0.23.0"
+url = { version = "2.2.2", features = ["serde"] }
+openssl = "0.10.38"
+http-signature-normalization-actix = { version = "0.5.0-beta.14", default-features = false, features = ["sha-2"] }
+tokio = { version = "1.14.0", features = ["sync"] }
+anyhow = "1.0.51"
+reqwest = { version = "0.11.7", features = ["json"] }
+reqwest-middleware = "0.1.3"
+reqwest-tracing = "0.2.0"
+activitystreams = "0.7.0-alpha.14"
+actix-rt = { version = "2.5.0", default-features = false }
+serde_json = { version = "1.0.72", features = ["preserve_order"] }
+clokwerk = "0.3.5"
+doku = "0.10.2"
[dev-dependencies.cargo-husky]
-version = "1"
+version = "1.5.0"
default-features = false # Disable features which are enabled by default
-features = ["precommit-hook", "run-cargo-fmt", "run-cargo-clippy"]
+features = ["user-hooks"]
+
+[package.metadata.cargo-udeps.ignore]
+development = ["cargo-husky"]