-
Notifications
You must be signed in to change notification settings - Fork 12
/
Cargo.toml
117 lines (95 loc) · 2.32 KB
/
Cargo.toml
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
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
[workspace]
resolver = "2"
members = [
".",
"entities",
]
[workspace.package]
version = "1.3.2"
license = "MIT/Apache-2.0"
authors = ["Aaron Power <theaaronepower@gmail.com>", "Paul Woolcock <paul@woolcock.us>", "D. Scott Boggs <scott@tams.tech>"]
edition = "2021"
rust-version = "1.70"
[package]
name = "mastodon-async"
description = "A wrapper around the Mastodon API."
readme = "README.md"
keywords = ["api", "web", "social", "mastodon", "wrapper"]
categories = ["web-programming", "web-programming::http-client", "api-bindings"]
repository = "https://github.com/dscottboggs/mastodon-async.git"
version.workspace = true
license.workspace = true
authors.workspace = true
edition.workspace = true
rust-version.workspace = true
[package.metadata.docs.rs]
features = ["all"]
[dependencies.mastodon-async-entities]
path = "./entities"
version = "1"
[dependencies]
futures = "0.3.25"
doc-comment = "0.3"
serde_json = "1"
serde_urlencoded = "0.7.1"
url = "2"
futures-util = "0.3.25"
static_assertions = "1.1.0"
percent-encoding = "2.2.0"
thiserror = "1.0.38"
derive_deref = "1.1.1"
derive_is_enum_variant = "0.1.1"
[dependencies.derive_builder]
version = "0.20.1"
features = ["clippy"]
[dependencies.parse_link_header]
version = "0.4.0"
features = ["url"]
[dependencies.uuid]
version = "1.2.2"
features = ["v4"]
[dependencies.log]
version = "0.4"
features = ["kv_unstable", "serde", "std", "kv_unstable_serde", "kv_unstable_std"]
[dependencies.time]
version = "0.3"
features = ["parsing", "serde", "formatting"]
[dependencies.envy]
version = "0.4"
optional = true
[dependencies.isolang]
version = "2.2"
features = ["serde"]
[dependencies.reqwest]
version = "0.12"
features = ["multipart", "json", "stream"]
default-features = false
[dependencies.serde]
version = "1"
features = ["derive"]
[dependencies.toml]
version = "0.8"
optional = true
[dependencies.tokio]
version = "1.22.0"
features = ["macros", "io-util", "time"]
[dependencies.tokio-util]
version = "0.7.4"
features = ["io"]
[dev-dependencies]
tokio-test = "0.4.2"
futures-util = "0.3.25"
indoc = "2.0"
tempfile = "3"
# for examples:
femme = "2.2.1"
html2text = "0.6.0"
[build-dependencies.skeptic]
version = "0.13"
[features]
all = ["toml", "json", "env", "mt"]
default = ["reqwest/default-tls"]
env = ["envy"]
mt = ["tokio/rt-multi-thread"]
json = []
rustls-tls = ["reqwest/rustls-tls"]