1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
//! This crate provides implementations of the [standards][standards] and [algorithms][algorithms] used with the IndieWeb.
//!
//! More information about what's available is in either the [algorithms][algorithms] or
//! [standards][standards] module. A required trait to use is the [HTTP Client][http::Client]
//! if you'd like to use your own networking stack that's compatible with [http][::http]. This
//! library also provides some [traits][traits] to extend common values with IndieWeb-adjacent
//! capabilities.
//!
//! # Quick Start
//!
//! ```
//! use indieweb::prelude::*;
//! ```
//!
/// A collection of algorithms commonly used in the IndieWeb.
/// This module provides a collection of implementation of known
/// algorithms when working with the IndieWeb or adjacent tooling.
/// A representation of errors from the IndieWeb error.
/// A facade for HTTP interactions when working with this library.
/// A collection of standards that the IndieWeb can support.
///
/// View <https://spec.indieweb.org> for more information.
/// Traits to extend everyday functionality with IndieWeb-adjacent tooling.
/// A prelude module for ergonomic imports.
///
/// ```
/// use indieweb::prelude::*;
/// ```
// ============================================================================
// Re-exports for microformats (core to this library)
// ============================================================================
pub use microformats as mf2;
pub use parse as parser;
pub use ;
// ============================================================================
// Re-exports for HTTP clients (for simpler imports)
//
// These provide flatter import paths:
// - indieweb::ReqwestClient (instead of indieweb::http::reqwest::Client)
// - indieweb::BlockingClient (instead of indieweb::http::blocking::Client)
// - indieweb::MiddlewareClient (instead of indieweb::http::MiddlewareClient)
// ============================================================================
pub use Client as ReqwestClient;
pub use Client as BlockingClient;
pub use MiddlewareClient;
/// Result type alias for convenience
pub use Error;
pub type Result<T, E = Error> = Result;