Get rid of the legacy activity_pub::object module

This commit is contained in:
Bat
2018-06-20 10:01:25 +01:00
parent 65e819c425
commit ab7bef1490
7 changed files with 22 additions and 93 deletions
-1
View File
@@ -14,7 +14,6 @@ use self::sign::Signable;
pub mod actor;
pub mod inbox;
pub mod object;
pub mod request;
pub mod sign;
-8
View File
@@ -1,8 +0,0 @@
use diesel::PgConnection;
use serde_json;
pub trait Object {
fn serialize(&self, conn: &PgConnection) -> serde_json::Value;
fn compute_id(&self, conn: &PgConnection) -> String;
}