From e1673787b4a6c8eb5d691fe520ec2a87a53f853c Mon Sep 17 00:00:00 2001 From: Kitaiti Makoto Date: Tue, 3 May 2022 01:14:29 +0900 Subject: [PATCH] Remove unused Licensed struct --- plume-common/src/activity_pub/mod.rs | 9 --------- plume-common/src/lib.rs | 2 -- 2 files changed, 11 deletions(-) diff --git a/plume-common/src/activity_pub/mod.rs b/plume-common/src/activity_pub/mod.rs index 8310ecd1..b4d3f153 100644 --- a/plume-common/src/activity_pub/mod.rs +++ b/plume-common/src/activity_pub/mod.rs @@ -433,15 +433,6 @@ where } } -#[derive(Clone, Debug, Default, Deserialize, Serialize, Properties)] -#[serde(rename_all = "camelCase")] -pub struct Licensed { - #[activitystreams(concrete(String), functional)] - pub license: Option, -} - -impl Object for Licensed {} - #[derive(Clone, Debug, Deserialize, Serialize, PartialEq, Eq)] #[serde(rename_all = "camelCase")] pub struct Licensed07 { diff --git a/plume-common/src/lib.rs b/plume-common/src/lib.rs index 878923d4..80021762 100644 --- a/plume-common/src/lib.rs +++ b/plume-common/src/lib.rs @@ -1,7 +1,5 @@ #![feature(associated_type_defaults)] -#[macro_use] -extern crate activitystreams_derive; #[macro_use] extern crate shrinkwraprs; #[macro_use]