mirror of
https://github.com/LemmyNet/activitypub-federation-rust.git
synced 2024-06-14 19:29:23 +00:00
21 lines
573 B
Rust
21 lines
573 B
Rust
#![doc = include_str!("../README.md")]
|
|
|
|
//#![deny(missing_docs)]
|
|
|
|
/// Configuration for this library
|
|
pub mod config;
|
|
/// Contains main library functionality
|
|
pub mod core;
|
|
pub mod error;
|
|
/// Data structures which help to define federated messages
|
|
pub mod protocol;
|
|
/// Traits which need to be implemented for federated data types
|
|
pub mod traits;
|
|
pub mod utils;
|
|
pub mod webfinger;
|
|
|
|
pub use activitystreams_kinds as kinds;
|
|
|
|
/// Mime type for Activitypub, used for `Accept` and `Content-Type` HTTP headers
|
|
pub static APUB_JSON_CONTENT_TYPE: &str = "application/activity+json";
|