2023-03-01 23:19:10 +00:00
|
|
|
#![doc = include_str!("../README.md")]
|
|
|
|
|
2023-02-19 12:26:01 +00:00
|
|
|
//#![deny(missing_docs)]
|
2022-06-02 11:17:12 +00:00
|
|
|
|
2023-03-01 23:19:10 +00:00
|
|
|
/// Configuration for this library
|
2023-02-19 12:26:01 +00:00
|
|
|
pub mod config;
|
2023-03-01 23:19:10 +00:00
|
|
|
/// Contains main library functionality
|
2022-06-02 11:17:12 +00:00
|
|
|
pub mod core;
|
2023-03-01 23:19:10 +00:00
|
|
|
pub mod error;
|
|
|
|
/// Data structures which help to define federated messages
|
2023-02-19 12:26:01 +00:00
|
|
|
pub mod protocol;
|
2023-03-01 23:19:10 +00:00
|
|
|
/// Traits which need to be implemented for federated data types
|
2022-06-02 11:17:12 +00:00
|
|
|
pub mod traits;
|
|
|
|
pub mod utils;
|
2023-03-01 23:19:10 +00:00
|
|
|
pub mod webfinger;
|
|
|
|
|
|
|
|
pub use activitystreams_kinds as kinds;
|
2022-06-02 11:17:12 +00:00
|
|
|
|
|
|
|
/// Mime type for Activitypub, used for `Accept` and `Content-Type` HTTP headers
|
|
|
|
pub static APUB_JSON_CONTENT_TYPE: &str = "application/activity+json";
|