Rewrite User::from_activity to use the activitypub crate instead of raw JSON

This commit is contained in:
Bat
2018-06-21 21:30:56 +01:00
parent f5f2aa7c59
commit e7e557612e
5 changed files with 51 additions and 13 deletions
+3
View File
@@ -2,6 +2,9 @@
#![plugin(rocket_codegen)]
extern crate activitypub;
#[macro_use]
extern crate activitystreams_derive;
extern crate activitystreams_traits;
extern crate ammonia;
extern crate array_tool;
extern crate base64;