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
/// Helpers for serializing to/deserializing from toml
///
/// In order to use this module, set the "toml" feature in your Cargo.toml:
///
/// ```toml,ignore
/// [dependencies.mastodon-async]
/// version = "0.22"
/// features = ["toml"]
/// ```
/// Helpers for serializing to/deserializing from json
///
/// In order to use this module, set the "json" feature in your Cargo.toml:
///
/// ```toml,ignore
/// [dependencies.elefen]
/// version = "0.22"
/// features = ["json"]
/// ```
/// Helpers for deserializing a `Data` struct from the environment
///
/// In order to use this module, set the "env" feature in your Cargo.toml:
///
/// ```toml,ignore
/// [dependencies.mastodon-async]
/// version = "0.22"
/// features = ["env"]
/// ```
/// Helpers for working with the command line
/// Helpers for serializing data for logging
/// Adapter for reading JSON data from a response with better logging and a
/// fail-safe timeout.