diff --git a/packages/backend/crates/activitypub/src/federation/mod.rs b/packages/backend/crates/activitypub/src/federation/mod.rs index 6f049d2344..6bcc2e3a7d 100644 --- a/packages/backend/crates/activitypub/src/federation/mod.rs +++ b/packages/backend/crates/activitypub/src/federation/mod.rs @@ -1,9 +1,9 @@ -pub(crate) mod config; -pub(crate) mod fetch; -pub(crate) mod http_signature; -pub(crate) mod protocol; -pub(crate) mod reqwest_shim; -pub(crate) mod traits; +pub mod config; +pub mod fetch; +pub mod http_signature; +pub mod protocol; +pub mod reqwest_shim; +pub mod traits; /// Mime type for Activitypub data, used for `Accept` and `Content-Type` HTTP headers -pub(crate) static FEDERATION_CONTENT_TYPE: &str = "application/activity+json"; +pub static FEDERATION_CONTENT_TYPE: &str = "application/activity+json"; diff --git a/packages/backend/crates/activitypub/src/federation/protocol/mod.rs b/packages/backend/crates/activitypub/src/federation/protocol/mod.rs index 39b6ed35c4..b270c054c3 100644 --- a/packages/backend/crates/activitypub/src/federation/protocol/mod.rs +++ b/packages/backend/crates/activitypub/src/federation/protocol/mod.rs @@ -1,5 +1,5 @@ -pub(crate) mod context; -pub(crate) mod helper; -pub(crate) mod kind; -pub(crate) mod public_key; -pub(crate) mod verification; +pub mod context; +pub mod helper; +pub mod kind; +pub mod public_key; +pub mod verification; diff --git a/packages/backend/crates/activitypub/src/lib.rs b/packages/backend/crates/activitypub/src/lib.rs index 7f2721d2a2..f02eec8bb9 100644 --- a/packages/backend/crates/activitypub/src/lib.rs +++ b/packages/backend/crates/activitypub/src/lib.rs @@ -1,3 +1,3 @@ pub mod error; -pub(crate) mod federation; +pub mod federation; pub mod queue;