mplib 0.1.2

mplib: Micropub Publisher Library | Publish text-only blog posts to Micropub endpoints.
Documentation
//! # mplib - Micropub Publisher Library
//!
//! A Rust library for publishing text-only blog posts to Micropub endpoints.
//!
//! ## Example
//!
//!! ```rust
//! use mplib::{MicropubService, Post, publish_post};
//!
//! fn main() {
//!     let service = MicropubService::new("https://example.com/micropub", "your_access_token");
//!     let post = Post::new("Hello, world!", None);
//!     match publish_post(&service, &post) {
//!         Ok(result) => println!("Post published successfully: {:?}", result),
//!         Err(e) => eprintln!("Failed to publish post: {}", e),
//!     }
//! }
//! ```

mod micropub_service;
mod post;
mod post_result;
mod post_status;
mod publish;

// Re-export the main types and functions for library users
pub use crate::micropub_service::MicropubService;
pub use crate::post::Post;
pub use crate::post_result::PostResult;
pub use crate::post_status::PostStatus;
pub use crate::publish::publish_post;