mirror of
https://github.com/LemmyNet/lemmy.git
synced 2024-12-27 19:09:09 +00:00
bfed8a8be4
Dont federate embeds, but refetch them for security (#ref 647) Co-authored-by: Felix Ableitner <me@nutomic.com> Reviewed-on: https://yerbamate.dev/LemmyNet/lemmy/pulls/106
49 lines
1.3 KiB
TOML
49 lines
1.3 KiB
TOML
[package]
|
|
name = "lemmy_api"
|
|
version = "0.1.0"
|
|
authors = ["Felix Ableitner <me@nutomic.com>"]
|
|
edition = "2018"
|
|
|
|
[lib]
|
|
name = "lemmy_api"
|
|
path = "src/lib.rs"
|
|
|
|
[dependencies]
|
|
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"
|
|
bcrypt = "0.8"
|
|
chrono = { version = "0.4", features = ["serde"] }
|
|
serde_json = { version = "1.0", features = ["preserve_order"]}
|
|
serde = { version = "1.0", features = ["derive"] }
|
|
actix = "0.10"
|
|
actix-web = { version = "3.0", default-features = false }
|
|
actix-rt = { version = "1.1", default-features = false }
|
|
awc = { version = "2.0", default-features = false }
|
|
log = "0.4"
|
|
rand = "0.7"
|
|
strum = "0.19"
|
|
strum_macros = "0.19"
|
|
jsonwebtoken = "7.0"
|
|
lazy_static = "1.3"
|
|
url = { version = "2.1", features = ["serde"] }
|
|
openssl = "0.10"
|
|
http = "0.2"
|
|
http-signature-normalization-actix = { version = "0.4", default-features = false, features = ["sha-2"] }
|
|
base64 = "0.12"
|
|
tokio = "0.2"
|
|
futures = "0.3"
|
|
itertools = "0.9"
|
|
uuid = { version = "0.8", features = ["serde", "v4"] }
|
|
sha2 = "0.9"
|
|
async-trait = "0.1"
|
|
captcha = "0.0"
|
|
anyhow = "1.0"
|
|
thiserror = "1.0"
|
|
background-jobs = " 0.8"
|
|
reqwest = { version = "0.10", features = ["json"] }
|