mastodon-async/Cargo.toml

101 lines
2.2 KiB
TOML

# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies
#
# If you believe there's an error in this file please file an
# issue against the rust-lang/cargo repository. If you're
# editing this file be aware that the upstream Cargo.toml
# will likely look very different (and much more reasonable)
[package]
name = "elefren"
version = "0.23.0"
authors = ["Aaron Power <theaaronepower@gmail.com>", "Paul Woolcock <paul@woolcock.us>"]
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"
edition = "2021"
# TODO setup repo
# repository = "https://github.com/pwoolcoc/elefren.git"
[package.metadata.docs.rs]
features = ["all"]
[dependencies.chrono]
version = "0.4"
features = ["serde"]
[dependencies.doc-comment]
version = "0.3"
[dependencies.envy]
version = "0.4"
optional = true
# Provides parsing for the link header in get_links() in page.rs
[dependencies.hyper-old-types]
version = "0.11.0"
[dependencies.isolang]
version = "2.2"
features = ["serde"]
[dependencies.log]
version = "0.4"
[dependencies.reqwest]
version = "0.9"
default-features = false
[dependencies.serde]
version = "1"
features = ["derive"]
[dependencies.serde_json]
version = "1"
[dependencies.serde_qs]
version = "0.4.5"
[dependencies.serde_urlencoded]
version = "0.6.1"
[dependencies.tap-reader]
version = "1"
[dependencies.toml]
version = "0.5"
optional = true
[dependencies.tungstenite]
version = "0.10.1"
[dependencies.url]
version = "1"
[dev-dependencies.indoc]
version = "1.0"
[dev-dependencies.pretty_env_logger]
version = "0.3.0"
[dev-dependencies.skeptic]
version = "0.13"
[dev-dependencies.tempfile]
version = "3"
[build-dependencies.skeptic]
version = "0.13"
[features]
all = ["toml", "json", "env"]
default = ["reqwest/default-tls"]
env = ["envy"]
json = []
rustls-tls = ["reqwest/rustls-tls"]