mirror of
https://github.com/LemmyNet/lemmy.git
synced 2024-11-14 08:23:59 +00:00
c9f1407429
* Initial commit to bump diesel to 2.0.0-rc.0 and see what happens * Add chrono feature from diesel * db_schema crate is close to building? * Upgrade diesel-derive-newtype * Mostly modifying references to connections to be mutable ones; also used new way to do migrations as suggested by the migration guide; a lot more compiles now, though I can't figure out this tricky ToSql issue at the moment * Running clippy --fix * Trying to fix drone clippy 1 * Fix clippy * Upgrade clux-musl * Trying to fix drone clippy 2 * Trying to fix drone clippy 3 * Trying to fix drone clippy 5 * Adding diesel table aliases, removing sql view hack. Fixes #2101 Co-authored-by: Steven Chu <stevenc1@gmail.com> Co-authored-by: Nutomic <me@nutomic.com>
68 lines
2.2 KiB
TOML
68 lines
2.2 KiB
TOML
[package]
|
|
name = "lemmy_server"
|
|
version = "0.16.5"
|
|
edition = "2021"
|
|
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"
|
|
rust-version = "1.57"
|
|
|
|
[lib]
|
|
doctest = false
|
|
|
|
[profile.dev]
|
|
debug = 0
|
|
|
|
[features]
|
|
console = ["console-subscriber", "opentelemetry", "opentelemetry-otlp", "tracing-opentelemetry",
|
|
"reqwest-tracing/opentelemetry_0_16"]
|
|
default = []
|
|
|
|
[workspace]
|
|
members = [
|
|
"crates/api",
|
|
"crates/api_crud",
|
|
"crates/api_common",
|
|
"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 = { version = "=0.16.5", path = "./crates/api" }
|
|
lemmy_api_crud = { version = "=0.16.5", path = "./crates/api_crud" }
|
|
lemmy_apub = { version = "=0.16.5", path = "./crates/apub" }
|
|
lemmy_utils = { version = "=0.16.5", path = "./crates/utils" }
|
|
lemmy_db_schema = { version = "=0.16.5", path = "./crates/db_schema" }
|
|
lemmy_api_common = { version = "=0.16.5", path = "crates/api_common" }
|
|
lemmy_websocket = { version = "=0.16.5", path = "./crates/websocket" }
|
|
lemmy_routes = { version = "=0.16.5", path = "./crates/routes" }
|
|
activitypub_federation = "0.2.0"
|
|
diesel = "2.0.0"
|
|
diesel_migrations = "2.0.0"
|
|
serde = { version = "1.0.145", features = ["derive"] }
|
|
actix = "0.13.0"
|
|
actix-web = { version = "4.2.1", default-features = false, features = ["macros", "rustls"] }
|
|
tracing = "0.1.36"
|
|
tracing-actix-web = { version = "0.6.1", default-features = false }
|
|
tracing-error = "0.2.0"
|
|
tracing-log = "0.1.3"
|
|
tracing-subscriber = { version = "0.3.15", features = ["env-filter"] }
|
|
url = { version = "2.3.1", features = ["serde"] }
|
|
reqwest = { version = "0.11.12", features = ["json"] }
|
|
reqwest-middleware = "0.1.6"
|
|
reqwest-tracing = "0.3.1"
|
|
clokwerk = "0.3.5"
|
|
doku = { version = "0.12.0", features = ["url-2"] }
|
|
parking_lot = "0.12.1"
|
|
reqwest-retry = "0.1.5"
|
|
console-subscriber = { version = "0.1.8", optional = true }
|
|
opentelemetry = { version = "0.17.0", features = ["rt-tokio"], optional = true }
|
|
opentelemetry-otlp = { version = "0.10.0", optional = true }
|
|
tracing-opentelemetry = { version = "0.17.2", optional = true }
|