mirror of
https://github.com/LemmyNet/activitypub-federation-rust.git
synced 2025-01-23 12:48:06 +00:00
Upgrade dependencies
This commit is contained in:
parent
4d888b2c8e
commit
4b08b671ec
3 changed files with 249 additions and 251 deletions
462
Cargo.lock
generated
462
Cargo.lock
generated
File diff suppressed because it is too large
Load diff
34
Cargo.toml
34
Cargo.toml
|
@ -12,31 +12,31 @@ members = ["derive"]
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
activitypub_federation_derive = { version = "0.2.0", path = "derive" }
|
activitypub_federation_derive = { version = "0.2.0", path = "derive" }
|
||||||
chrono = { version = "0.4.19", features = ["clock"], default-features = false }
|
chrono = { version = "0.4.22", features = ["clock"], default-features = false }
|
||||||
serde = { version = "1.0.137", features = ["derive"] }
|
serde = { version = "1.0.145", features = ["derive"] }
|
||||||
async-trait = "0.1.56"
|
async-trait = "0.1.57"
|
||||||
url = { version = "2.2.2", features = ["serde"] }
|
url = { version = "2.3.1", features = ["serde"] }
|
||||||
serde_json = { version = "1.0.81", features = ["preserve_order"] }
|
serde_json = { version = "1.0.85", features = ["preserve_order"] }
|
||||||
anyhow = "1.0.57"
|
anyhow = "1.0.65"
|
||||||
reqwest = { version = "0.11.10", features = ["json"] }
|
reqwest = { version = "0.11.12", features = ["json"] }
|
||||||
reqwest-middleware = "0.1.6"
|
reqwest-middleware = "0.1.6"
|
||||||
tracing = "0.1.34"
|
tracing = "0.1.36"
|
||||||
base64 = "0.13.0"
|
base64 = "0.13.0"
|
||||||
openssl = "0.10.40"
|
openssl = "0.10.42"
|
||||||
once_cell = "1.12.0"
|
once_cell = "1.15.0"
|
||||||
http = "0.2.8"
|
http = "0.2.8"
|
||||||
sha2 = "0.10.2"
|
sha2 = "0.10.6"
|
||||||
actix-web = { version = "4.0.1", default-features = false }
|
actix-web = { version = "4.2.1", default-features = false }
|
||||||
http-signature-normalization-actix = { version = "0.6.1", default-features = false, features = ["server", "sha-2"] }
|
http-signature-normalization-actix = { version = "0.6.1", default-features = false, features = ["server", "sha-2"] }
|
||||||
http-signature-normalization-reqwest = { version = "0.6.0", default-features = false, features = ["sha-2", "middleware"] }
|
http-signature-normalization-reqwest = { version = "0.6.0", default-features = false, features = ["sha-2", "middleware"] }
|
||||||
background-jobs = "0.12.0"
|
background-jobs = "0.13.0"
|
||||||
thiserror = "1.0.31"
|
thiserror = "1.0.37"
|
||||||
derive_builder = "0.11.2"
|
derive_builder = "0.11.2"
|
||||||
itertools = "0.10.3"
|
itertools = "0.10.5"
|
||||||
|
|
||||||
[dev-dependencies]
|
[dev-dependencies]
|
||||||
activitystreams-kinds = "0.2.1"
|
activitystreams-kinds = "0.2.1"
|
||||||
rand = "0.8.5"
|
rand = "0.8.5"
|
||||||
actix-rt = "2.7.0"
|
actix-rt = "2.7.0"
|
||||||
tokio = "1.19.2"
|
tokio = "1.21.2"
|
||||||
env_logger = { version = "0.9.0", default-features = false }
|
env_logger = { version = "0.9.1", default-features = false }
|
||||||
|
|
|
@ -9,7 +9,7 @@ use crate::{
|
||||||
};
|
};
|
||||||
use anyhow::anyhow;
|
use anyhow::anyhow;
|
||||||
use background_jobs::{
|
use background_jobs::{
|
||||||
memory_storage::Storage,
|
memory_storage::{ActixTimer, Storage},
|
||||||
ActixJob,
|
ActixJob,
|
||||||
Backoff,
|
Backoff,
|
||||||
Manager,
|
Manager,
|
||||||
|
@ -203,7 +203,7 @@ pub(crate) fn create_activity_queue(
|
||||||
let timeout = settings.request_timeout;
|
let timeout = settings.request_timeout;
|
||||||
|
|
||||||
// Configure and start our workers
|
// Configure and start our workers
|
||||||
WorkerConfig::new_managed(Storage::new(), move |_| MyState {
|
WorkerConfig::new_managed(Storage::new(ActixTimer), move |_| MyState {
|
||||||
client: client.clone(),
|
client: client.clone(),
|
||||||
timeout,
|
timeout,
|
||||||
})
|
})
|
||||||
|
|
Loading…
Reference in a new issue