2022-11-27 14:44:43 +00:00
|
|
|
[package]
|
2022-12-22 18:19:49 +00:00
|
|
|
name = "mastodon-async"
|
2022-12-07 21:20:20 +00:00
|
|
|
version = "1.0.0"
|
2022-12-05 13:52:48 +00:00
|
|
|
authors = ["Aaron Power <theaaronepower@gmail.com>", "Paul Woolcock <paul@woolcock.us>", "D. Scott Boggs <scott@tams.tech>"]
|
2022-11-27 14:44:43 +00:00
|
|
|
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"]
|
|
|
|
license = "MIT/Apache-2.0"
|
2022-11-29 23:50:29 +00:00
|
|
|
edition = "2021"
|
2022-12-22 18:19:49 +00:00
|
|
|
repository = "https://github.com/dscottboggs/mastodon-async.git"
|
2022-11-29 23:50:29 +00:00
|
|
|
|
2022-11-27 14:44:43 +00:00
|
|
|
[package.metadata.docs.rs]
|
|
|
|
features = ["all"]
|
2022-12-05 13:52:48 +00:00
|
|
|
|
|
|
|
[dependencies]
|
|
|
|
futures = "0.3.25"
|
|
|
|
doc-comment = "0.3"
|
|
|
|
serde_json = "1"
|
|
|
|
serde_qs = "0.4.5"
|
|
|
|
serde_urlencoded = "0.6.1"
|
|
|
|
tap-reader = "1"
|
|
|
|
tungstenite = "0.18"
|
|
|
|
url = "1"
|
|
|
|
# Provides parsing for the link header in get_links() in page.rs
|
|
|
|
hyper-old-types = "0.11.0"
|
2022-12-07 20:58:28 +00:00
|
|
|
futures-util = "0.3.25"
|
|
|
|
|
|
|
|
[dependencies.uuid]
|
|
|
|
version = "1.2.2"
|
|
|
|
features = ["v4"]
|
|
|
|
|
|
|
|
[dependencies.log]
|
|
|
|
version = "0.4"
|
|
|
|
features = ["kv_unstable", "serde", "std", "kv_unstable_serde", "kv_unstable_std"]
|
2022-12-05 13:52:48 +00:00
|
|
|
|
2022-11-27 14:44:43 +00:00
|
|
|
[dependencies.chrono]
|
|
|
|
version = "0.4"
|
|
|
|
features = ["serde"]
|
|
|
|
|
|
|
|
[dependencies.envy]
|
2022-11-29 23:50:29 +00:00
|
|
|
version = "0.4"
|
2022-11-27 14:44:43 +00:00
|
|
|
optional = true
|
|
|
|
|
|
|
|
[dependencies.isolang]
|
2022-11-29 23:50:29 +00:00
|
|
|
version = "2.2"
|
|
|
|
features = ["serde"]
|
2022-11-27 14:44:43 +00:00
|
|
|
|
|
|
|
[dependencies.reqwest]
|
2022-12-05 13:52:48 +00:00
|
|
|
version = "0.11"
|
2022-12-07 20:58:28 +00:00
|
|
|
features = ["multipart", "json", "stream"]
|
2022-11-27 14:44:43 +00:00
|
|
|
|
|
|
|
[dependencies.serde]
|
|
|
|
version = "1"
|
2022-11-29 23:50:29 +00:00
|
|
|
features = ["derive"]
|
2022-11-27 14:44:43 +00:00
|
|
|
|
|
|
|
[dependencies.toml]
|
2022-11-29 23:50:29 +00:00
|
|
|
version = "0.5"
|
2022-11-27 14:44:43 +00:00
|
|
|
optional = true
|
|
|
|
|
2022-12-07 20:58:28 +00:00
|
|
|
[dependencies.tokio]
|
|
|
|
version = "1.22.0"
|
|
|
|
features = ["rt-multi-thread", "macros"]
|
|
|
|
|
2022-12-18 22:25:53 +00:00
|
|
|
[dependencies.tokio-util]
|
|
|
|
version = "0.7.4"
|
|
|
|
features = ["io"]
|
2022-12-07 20:58:28 +00:00
|
|
|
|
2022-12-05 13:52:48 +00:00
|
|
|
[dev-dependencies]
|
|
|
|
tokio-test = "0.4.2"
|
|
|
|
futures-util = "0.3.25"
|
|
|
|
indoc = "1.0"
|
|
|
|
pretty_env_logger = "0.3.0"
|
|
|
|
skeptic = "0.13"
|
|
|
|
tempfile = "3"
|
2022-12-22 17:29:13 +00:00
|
|
|
femme = "2.2.1"
|
2022-11-29 23:50:29 +00:00
|
|
|
|
2022-11-27 14:44:43 +00:00
|
|
|
[build-dependencies.skeptic]
|
2022-11-29 23:50:29 +00:00
|
|
|
version = "0.13"
|
2022-11-27 14:44:43 +00:00
|
|
|
|
|
|
|
[features]
|
|
|
|
all = ["toml", "json", "env"]
|
|
|
|
default = ["reqwest/default-tls"]
|
|
|
|
env = ["envy"]
|
|
|
|
json = []
|
|
|
|
rustls-tls = ["reqwest/rustls-tls"]
|