twapi-oauth2 0.4.1

Twitter API v2 library.
Documentation
# 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 are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2024"
name = "twapi-oauth2"
version = "0.4.1"
authors = ["aoyagikouhei <aoyagi.kouhei@gmail.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Twitter API v2 library."
documentation = "https://docs.rs/twapi-oauth2"
readme = "README.md"
keywords = [
    "twitter",
    "oauth",
]
categories = ["api-bindings"]
license = "MIT"
repository = "https://github.com/aoyagikouhei/twapi-oauth2-rs"

[features]
default = ["oauth2"]
oauth1a = [
    "hmac",
    "form_urlencoded",
    "sha1",
]
oauth2 = [
    "query-string-builder",
    "sha2",
]

[lib]
name = "twapi_oauth2"
path = "src/lib.rs"

[dependencies.base64]
version = "0.22"

[dependencies.chrono]
version = "0.4"
features = ["serde"]

[dependencies.form_urlencoded]
version = "1.2"
optional = true

[dependencies.hmac]
version = "0.12"
optional = true

[dependencies.query-string-builder]
version = "0.6"
optional = true

[dependencies.rand]
version = "0.10"

[dependencies.reqwest]
version = "0.13"
features = [
    "json",
    "query",
    "form",
]

[dependencies.serde]
version = "1"
features = ["derive"]

[dependencies.serde_json]
version = "1"

[dependencies.sha1]
version = "0.10"
optional = true

[dependencies.sha2]
version = "0.10"
optional = true

[dependencies.thiserror]
version = "2"

[dependencies.tokio]
version = "1"
features = ["time"]

[dev-dependencies.anyhow]
version = "1"

[dev-dependencies.tokio]
version = "1"
features = ["macros"]