mirror of
https://github.com/LemmyNet/lemmy.git
synced 2024-11-23 04:41:19 +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
27 lines
1,017 B
TOML
27 lines
1,017 B
TOML
[package]
|
|
name = "lemmy_api_common"
|
|
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_common"
|
|
path = "src/lib.rs"
|
|
doctest = false
|
|
|
|
[dependencies]
|
|
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_db_schema = { version = "=0.14.4-rc.4", path = "../db_schema" }
|
|
lemmy_utils = { version = "=0.14.4-rc.4", path = "../utils" }
|
|
serde = { version = "1.0.130", features = ["derive"] }
|
|
diesel = "1.4.8"
|
|
actix-web = { version = "4.0.0-beta.9", default-features = false, features = ["cookies"] }
|
|
chrono = { version = "0.4.19", features = ["serde"] }
|
|
serde_json = { version = "1.0.68", features = ["preserve_order"] }
|
|
tracing = "0.1.29"
|
|
url = "2.2.2"
|