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.
elefren-fork/Cargo.toml

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 = "2.4", features = ["serde"] }
log = "^0.4"
reqwest = { version = "0.12.18", default-features = false, features = ["json", "blocking", "multipart", "rustls-tls", "stream"] }
serde = { version = "1", features = ["derive"] }
serde_json = "1"
serde_urlencoded = "0.7.1"
serde_qs = "0.15.0"
url = "2.5.4"
toml = "0.5"
tokio-tungstenite = "0.16"
tokio = {version = "1", features = [ "fs" ] }
tokio-util = { version = "0.7", features = [ "io" ] }
tokio-stream = "0.1.17"
chrono = { version = "0.4", features = ["serde"] }
thiserror = "2"
futures-util = "0.3.31"
[dev-dependencies]
tempfile = "3.20.0"
indoc = "2.0.6"
pretty_env_logger = "0.5.0"