Change to_apub and from_apub to take by value and avoid cloning
authorFelix Ableitner <me@nutomic.com>
Sat, 6 Nov 2021 12:37:55 +0000 (13:37 +0100)
committerFelix Ableitner <me@nutomic.com>
Sat, 6 Nov 2021 13:47:58 +0000 (14:47 +0100)
commitc725514841cda13d8743c7e30e7527b848e04d67
treeff52ecc4af3b308b99e4de8e078004821d7d9472
parent2edf8ba1576d67234d1129cd97b131c0654a54f7
Change to_apub and from_apub to take by value and avoid cloning
29 files changed:
crates/api/src/post.rs
crates/api_crud/src/comment/create.rs
crates/api_crud/src/comment/update.rs
crates/api_crud/src/community/update.rs
crates/api_crud/src/post/create.rs
crates/api_crud/src/post/update.rs
crates/api_crud/src/private_message/create.rs
crates/api_crud/src/private_message/update.rs
crates/apub/src/activities/comment/create_or_update.rs
crates/apub/src/activities/community/update.rs
crates/apub/src/activities/post/create_or_update.rs
crates/apub/src/activities/private_message/create_or_update.rs
crates/apub/src/collections/community_moderators.rs
crates/apub/src/collections/community_outbox.rs
crates/apub/src/fetcher/post_or_comment.rs
crates/apub/src/fetcher/search.rs
crates/apub/src/fetcher/user_or_community.rs
crates/apub/src/http/comment.rs
crates/apub/src/http/community.rs
crates/apub/src/http/person.rs
crates/apub/src/http/post.rs
crates/apub/src/objects/comment.rs
crates/apub/src/objects/community.rs
crates/apub/src/objects/person.rs
crates/apub/src/objects/post.rs
crates/apub/src/objects/private_message.rs
crates/apub/src/protocol/objects/group.rs
crates/apub_lib/src/object_id.rs
crates/apub_lib/src/traits.rs