Remove activitypub crate from plume-models

This commit is contained in:
Kitaiti Makoto 2022-05-03 02:54:08 +09:00
parent d96940c848
commit 52022fb597

View file

@ -125,15 +125,6 @@ impl From<reqwest::header::InvalidHeaderValue> for Error {
}
}
impl From<activitypub::Error> for Error {
fn from(err: activitypub::Error) -> Self {
match err {
activitypub::Error::NotFound => Error::MissingApProperty,
_ => Error::SerDe,
}
}
}
impl From<activitystreams::checked::CheckError> for Error {
fn from(_: activitystreams::checked::CheckError) -> Error {
Error::MissingApProperty