mirror of
https://github.com/LemmyNet/activitypub-federation-rust.git
synced 2024-06-01 19:22:47 +00:00
chore: clippy lints
This commit is contained in:
parent
fdd16b99e0
commit
aa43308749
|
@ -8,7 +8,7 @@ use crate::{
|
|||
};
|
||||
|
||||
use activitypub_federation::{
|
||||
core::{object_id::ObjectId, receive_activity, signatures::generate_actor_keypair},
|
||||
core::{object_id::ObjectId, signatures::generate_actor_keypair},
|
||||
data::Data,
|
||||
deser::context::WithContext,
|
||||
traits::ApubObject,
|
||||
|
@ -115,6 +115,7 @@ impl Instance {
|
|||
}
|
||||
}
|
||||
|
||||
use activitypub_federation::core::axum::inbox::receive_activity;
|
||||
/// FIXME
|
||||
use axum_macros::debug_handler;
|
||||
|
||||
|
|
|
@ -2,14 +2,8 @@ pub mod activity_queue;
|
|||
pub mod object_id;
|
||||
pub mod signatures;
|
||||
|
||||
#[cfg(feature = "axum")]
|
||||
pub use self::axum::inbox::receive_activity;
|
||||
|
||||
#[cfg(feature = "axum")]
|
||||
pub mod axum;
|
||||
|
||||
#[cfg(feature = "actix")]
|
||||
pub use actix::inbox::receive_activity;
|
||||
|
||||
#[cfg(feature = "actix")]
|
||||
pub mod actix;
|
||||
|
|
Loading…
Reference in a new issue