lemmy/Cargo.toml
Aode (lion) 2e5746b74f Add console feature flag, not default
The most recent tracing-core changed the number of variants on metadata::Kind,
which broke console-api 0.1.1, and no fix has been applied yet. To avoid build
failures, disable console-subscriber for now
2022-02-04 11:31:38 -06:00

78 lines
2.7 KiB
TOML

[package]
name = "lemmy_server"
version = "0.15.1"
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"
[lib]
doctest = false
[profile.dev]
debug = 0
[features]
console = ["console-subscriber"]
default = []
[workspace]
members = [
"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 = { version = "=0.15.1", path = "./crates/api" }
lemmy_api_crud = { version = "=0.15.1", path = "./crates/api_crud" }
lemmy_apub = { version = "=0.15.1", path = "./crates/apub" }
lemmy_apub_lib = { version = "=0.15.1", path = "./crates/apub_lib" }
lemmy_utils = { version = "=0.15.1", path = "./crates/utils" }
lemmy_db_schema = { version = "=0.15.1", path = "./crates/db_schema" }
lemmy_db_views = { version = "=0.15.1", path = "./crates/db_views" }
lemmy_db_views_moderator = { version = "=0.15.1", path = "./crates/db_views_moderator" }
lemmy_db_views_actor = { version = "=0.15.1", path = "./crates/db_views_actor" }
lemmy_api_common = { version = "=0.15.1", path = "crates/api_common" }
lemmy_websocket = { version = "=0.15.1", path = "./crates/websocket" }
lemmy_routes = { version = "=0.15.1", 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.18", default-features = false, features = ["rustls"] }
tracing = "0.1.29"
tracing-actix-web = { version = "0.5.0-beta.8", default-features = false }
tracing-error = "0.2.0"
tracing-log = "0.1.2"
tracing-subscriber = { version = "0.3.3", features = ["env-filter"] }
console-subscriber = { version = "0.1.0", optional = true }
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", "tracing"] }
anyhow = "1.0.51"
reqwest = { version = "0.11.7", features = ["json"] }
reqwest-middleware = "0.1.3"
reqwest-tracing = { version = "0.2.0", features = ["opentelemetry_0_16"] }
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"
opentelemetry = { version = "0.16", features = ["rt-tokio"] }
opentelemetry-otlp = "0.9"
tracing-opentelemetry = "0.16"