Get rid of the legacy activity_pub::object module
This commit is contained in:
@@ -14,7 +14,6 @@ use self::sign::Signable;
|
||||
|
||||
pub mod actor;
|
||||
pub mod inbox;
|
||||
pub mod object;
|
||||
pub mod request;
|
||||
pub mod sign;
|
||||
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
Reference in New Issue
Block a user