diff --git a/Cargo.lock b/Cargo.lock index 3503a02..9fbc347 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -288,7 +288,6 @@ dependencies = [ "actix-webfinger", "ammonia", "anyhow", - "async-rwlock", "awc", "background-jobs", "base64", @@ -313,6 +312,7 @@ dependencies = [ "signature", "sled", "thiserror", + "tokio", "toml", "tracing", "tracing-actix-web", @@ -340,16 +340,6 @@ dependencies = [ "event-listener", ] -[[package]] -name = "async-rwlock" -version = "1.3.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "261803dcc39ba9e72760ba6e16d0199b1eef9fc44e81bffabbebb9f5aea3906c" -dependencies = [ - "async-mutex", - "event-listener", -] - [[package]] name = "async-stream" version = "0.3.3" diff --git a/Cargo.toml b/Cargo.toml index c6913dc..7c57b18 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -28,7 +28,6 @@ actix-webfinger = "0.4.0" activitystreams = "0.7.0-alpha.19" activitystreams-ext = "0.1.0-alpha.2" ammonia = "3.1.0" -async-rwlock = "1.3.0" awc = { version = "3.0.0", default-features = false, features = ["rustls"] } base64 = "0.13" clap = { version = "4.0.0", features = ["derive"] } @@ -61,6 +60,7 @@ tracing-subscriber = { version = "0.3", features = [ "env-filter", "fmt", ] } +tokio = { version = "1", features = ["macros", "sync"] } uuid = { version = "1", features = ["v4", "serde"] } [dependencies.background-jobs]