From 52022fb59708b84e26b1ede485ce522585a0b6bf Mon Sep 17 00:00:00 2001 From: Kitaiti Makoto Date: Tue, 3 May 2022 02:54:08 +0900 Subject: [PATCH] Remove activitypub crate from plume-models --- plume-models/src/lib.rs | 9 --------- 1 file changed, 9 deletions(-) diff --git a/plume-models/src/lib.rs b/plume-models/src/lib.rs index 0720599b..c9c991b4 100644 --- a/plume-models/src/lib.rs +++ b/plume-models/src/lib.rs @@ -125,15 +125,6 @@ impl From for Error { } } -impl From for Error { - fn from(err: activitypub::Error) -> Self { - match err { - activitypub::Error::NotFound => Error::MissingApProperty, - _ => Error::SerDe, - } - } -} - impl From for Error { fn from(_: activitystreams::checked::CheckError) -> Error { Error::MissingApProperty