mirror of
https://github.com/LemmyNet/lemmy.git
synced 2024-11-19 10:54:01 +00:00
Riley
35cbae61bc
* Respond directly with LemmyError Instrument Perform implementations for more precise traces Use ApiError to format JSON errors when messages are present Keep SpanTrace output in LemmyError Display impl * Hide SpanTrace debug output from LemmyError * Don't log when entering spans, only when leaving * Update actix-web * Update actix-rt * Add newline after error info in LemmyError Display impl * Propogate span information to blocking operations * Instrument apub functions * Use skip_all for more instrument attributes, don't skip 'self' in some api actions * Make message a static string * Send proper JSON over websocket * Add 'message' to LemmyError display if present * Use a quieter root span builder, don't pretty-print logs * Keep passwords and emails out of logs * Re-enable logging Login * Instrument feeds * Emit our own errors * Move error log after status code recording * Make Sensitive generic over the inner type * Remove line that logged secrets
53 lines
1.9 KiB
TOML
53 lines
1.9 KiB
TOML
[package]
|
|
name = "lemmy_api"
|
|
version = "0.14.4-rc.4"
|
|
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]
|
|
name = "lemmy_api"
|
|
path = "src/lib.rs"
|
|
doctest = false
|
|
|
|
[dependencies]
|
|
lemmy_apub = { version = "=0.14.4-rc.4", path = "../apub" }
|
|
lemmy_apub_lib = { version = "=0.14.4-rc.4", path = "../apub_lib" }
|
|
lemmy_utils = { version = "=0.14.4-rc.4", path = "../utils" }
|
|
lemmy_db_schema = { version = "=0.14.4-rc.4", path = "../db_schema" }
|
|
lemmy_db_views = { version = "=0.14.4-rc.4", path = "../db_views" }
|
|
lemmy_db_views_moderator = { version = "=0.14.4-rc.4", path = "../db_views_moderator" }
|
|
lemmy_db_views_actor = { version = "=0.14.4-rc.4", path = "../db_views_actor" }
|
|
lemmy_api_common = { version = "=0.14.4-rc.4", path = "../api_common" }
|
|
lemmy_websocket = { version = "=0.14.4-rc.4", path = "../websocket" }
|
|
diesel = "1.4.8"
|
|
bcrypt = "0.10.1"
|
|
chrono = { version = "0.4.19", features = ["serde"] }
|
|
serde_json = { version = "1.0.68", features = ["preserve_order"] }
|
|
serde = { version = "1.0.130", features = ["derive"] }
|
|
actix = "0.12.0"
|
|
actix-web = { version = "4.0.0-beta.9", default-features = false }
|
|
actix-rt = { version = "2.2.0", default-features = false }
|
|
awc = { version = "3.0.0-beta.8", default-features = false }
|
|
rand = "0.8.4"
|
|
strum = "0.21.0"
|
|
strum_macros = "0.21.1"
|
|
url = { version = "2.2.2", features = ["serde"] }
|
|
openssl = "0.10.36"
|
|
http = "0.2.5"
|
|
http-signature-normalization-actix = { version = "0.5.0-beta.10", default-features = false, features = ["sha-2"] }
|
|
base64 = "0.13.0"
|
|
tokio = "1.12.0"
|
|
futures = "0.3.17"
|
|
itertools = "0.10.1"
|
|
uuid = { version = "0.8.2", features = ["serde", "v4"] }
|
|
sha2 = "0.9.8"
|
|
async-trait = "0.1.51"
|
|
captcha = "0.0.8"
|
|
anyhow = "1.0.44"
|
|
thiserror = "1.0.29"
|
|
tracing = "0.1.29"
|
|
background-jobs = "0.11.0"
|
|
reqwest = { version = "0.11.4", features = ["json"] }
|