rust_freely/lib.rs
1//! Asynchronous wrapper for the WriteFreely/Write.as API, as the [existing library](https://docs.rs/writefreely_client/latest/writefreely_client/) is no longer maintained
2//!
3//! Provides an implementation of the WriteFreely [API](https://developers.write.as/docs/api/). Currently, this library supports the following API features:
4//! - Token & Username/Password authentication
5//! - Most post management endpoints
6//! - All collection endpoints
7//! - All user endpoints except channels
8
9#![warn(missing_docs)]
10mod client;
11pub use client::api_client;
12pub use client::api_models;
13pub use client::api_wrapper;
14pub use client::api_handlers;
15
16pub use client::api_client::{Client, ApiError, Auth};
17pub use client::api_models::{collections::{Collection, CollectionVisibility}, posts::{Post, PostAppearance}, users::User};