mastodon API rust lib elefren, fixed and updated. and also all ASYNC! NB. most examples are now wrong.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

36 lines
1.2 KiB

[package]
name = "elefren"
version = "0.22.0"
description = "A wrapper around the Mastodon API."
authors = ["Aaron Power <theaaronepower@gmail.com>", "Paul Woolcock <paul@woolcock.us>"]
license = "MIT/Apache-2.0"
readme = "README.md"
repository = "https://github.com/pwoolcoc/elefren.git"
keywords = ["api", "web", "social", "mastodon", "wrapper"]
categories = ["web-programming", "web-programming::http-client", "api-bindings"]
edition = "2018"
[dependencies]
doc-comment = "0.3"
hyper-old-types = "0.11.0" # Used to parse the link header
isolang = { version = "1.0", features = ["serde_serialize"] }
log = "^0.4"
reqwest = { version = "0.11.4", default-features = false, features = ["json", "blocking", "multipart", "rustls-tls", "stream"] }
serde = { version = "1", features = ["derive"] }
serde_json = "1"
serde_urlencoded = "0.6.1"
serde_qs = "0.8.4"
url = "2.1.1"
toml = { version = "^0.5.0" }
tokio-tungstenite = { version = "0.15.0", features = ["rustls-tls"] }
tokio = {version = "1", features = [ "fs" ] }
tokio-util = { version = "0.6", features = [ "io" ] }
tokio-stream = "0.1.7"
chrono = { version = "0.4", features = ["serde"] }
thiserror = "1"
futures-util = "0.3.16"
[dev-dependencies]
tempfile = "3.0.3"
indoc = "1.0.2"
pretty_env_logger = "0.4.0"