2022-12-30 09:41:37 +00:00
|
|
|
[workspace]
|
|
|
|
resolver = "2"
|
|
|
|
|
|
|
|
members = [
|
|
|
|
".",
|
|
|
|
"entities",
|
|
|
|
]
|
|
|
|
|
2022-12-30 09:54:06 +00:00
|
|
|
[workspace.package]
|
2023-03-19 16:05:15 +00:00
|
|
|
version = "1.2.1"
|
2022-12-30 09:54:06 +00:00
|
|
|
license = "MIT/Apache-2.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-12-30 09:54:06 +00:00
|
|
|
edition = "2021"
|
|
|
|
|
|
|
|
[package]
|
|
|
|
name = "mastodon-async"
|
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"]
|
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-12-30 09:54:06 +00:00
|
|
|
version.workspace = true
|
|
|
|
license.workspace = true
|
|
|
|
authors.workspace = true
|
|
|
|
edition.workspace = true
|
|
|
|
|
2022-11-27 14:44:43 +00:00
|
|
|
[package.metadata.docs.rs]
|
|
|
|
features = ["all"]
|
2022-12-05 13:52:48 +00:00
|
|
|
|
2022-12-30 09:41:37 +00:00
|
|
|
[dependencies.mastodon-async-entities]
|
|
|
|
path = "./entities"
|
2023-03-19 16:05:15 +00:00
|
|
|
version = "1"
|
2022-12-30 09:41:37 +00:00
|
|
|
|
2022-12-05 13:52:48 +00:00
|
|
|
[dependencies]
|
|
|
|
futures = "0.3.25"
|
|
|
|
doc-comment = "0.3"
|
|
|
|
serde_json = "1"
|
2022-12-28 14:48:26 +00:00
|
|
|
serde_urlencoded = "0.7.1"
|
2022-12-05 13:52:48 +00:00
|
|
|
tap-reader = "1"
|
2023-01-01 02:04:35 +00:00
|
|
|
url = "2"
|
2022-12-07 20:58:28 +00:00
|
|
|
futures-util = "0.3.25"
|
2022-12-28 12:58:40 +00:00
|
|
|
static_assertions = "1.1.0"
|
2022-12-28 14:14:21 +00:00
|
|
|
percent-encoding = "2.2.0"
|
2022-12-29 18:18:04 +00:00
|
|
|
thiserror = "1.0.38"
|
2023-01-25 11:59:43 +00:00
|
|
|
derive_deref = "1.1.1"
|
2023-03-19 15:17:55 +00:00
|
|
|
derive_is_enum_variant = "0.1.1"
|
2022-12-26 16:19:54 +00:00
|
|
|
|
2022-12-29 18:00:50 +00:00
|
|
|
[dependencies.parse_link_header]
|
|
|
|
version = "0.3.3"
|
|
|
|
features = ["url"]
|
|
|
|
|
2022-12-07 20:58:28 +00:00
|
|
|
[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-12-29 15:18:16 +00:00
|
|
|
[dependencies.time]
|
|
|
|
version = "0.3"
|
|
|
|
features = ["parsing", "serde", "formatting"]
|
2022-11-27 14:44:43 +00:00
|
|
|
|
|
|
|
[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]
|
2023-02-01 02:06:56 +00:00
|
|
|
version = "0.7"
|
2022-11-27 14:44:43 +00:00
|
|
|
optional = true
|
|
|
|
|
2022-12-07 20:58:28 +00:00
|
|
|
[dependencies.tokio]
|
|
|
|
version = "1.22.0"
|
2022-12-30 14:59:39 +00:00
|
|
|
features = ["macros", "io-util", "time"]
|
2022-12-07 20:58:28 +00:00
|
|
|
|
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"
|
2023-02-01 02:06:25 +00:00
|
|
|
indoc = "2.0"
|
2022-12-05 13:52:48 +00:00
|
|
|
skeptic = "0.13"
|
|
|
|
tempfile = "3"
|
2022-12-23 15:09:33 +00:00
|
|
|
# for examples:
|
2022-12-22 17:29:13 +00:00
|
|
|
femme = "2.2.1"
|
2022-12-23 15:09:33 +00:00
|
|
|
html2text = "0.4.4"
|
2022-12-27 12:46:13 +00:00
|
|
|
[dev-dependencies.criterion]
|
|
|
|
version = "0.4.0"
|
|
|
|
features = ["async_tokio"]
|
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]
|
2023-01-21 19:36:45 +00:00
|
|
|
all = ["toml", "json", "env", "mt"]
|
2022-12-28 12:58:40 +00:00
|
|
|
default = ["reqwest/default-tls"]
|
2022-11-27 14:44:43 +00:00
|
|
|
env = ["envy"]
|
2022-12-30 14:59:39 +00:00
|
|
|
mt = ["tokio/rt-multi-thread"]
|
2022-11-27 14:44:43 +00:00
|
|
|
json = []
|
|
|
|
rustls-tls = ["reqwest/rustls-tls"]
|