# 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 = "2021" name = "twitter-v2" version = "0.1.8" description = "Twitter API v2" homepage = "https://github.com/jpopesculian/twitter-v2-rs" documentation = "https://docs.rs/twitter-v2/" readme = "README.md" keywords = [ "twitter", "v2", "api", "client", "oauth", ] categories = ["web-programming::http-client"] license = "MIT OR Apache-2.0" repository = "https://github.com/jpopesculian/twitter-v2-rs" [dependencies.async-trait] version = "0.1" [dependencies.futures] version = "0.3" [dependencies.oauth1] version = "0.5" package = "oauth1-request" [dependencies.oauth2] version = "4.1" features = ["reqwest"] optional = true default-features = false [dependencies.percent-encoding] version = "2.1" [dependencies.pin-project-lite] version = "0.2" [dependencies.reqwest] version = "0.11" features = [ "json", "stream", ] default-features = false [dependencies.serde] version = "1.0" features = ["derive"] [dependencies.serde_json] version = "1.0" [dependencies.serde_urlencoded] version = "0.7" [dependencies.strum] version = "0.24" features = ["derive"] [dependencies.thiserror] version = "1.0" [dependencies.time] version = "0.3" features = [ "serde", "serde-well-known", ] [dependencies.tokio] version = "1.0" features = ["sync"] default-features = false [dependencies.url] version = "2.2" [dev-dependencies.axum] version = "0.4.8" [dev-dependencies.lazy_static] version = "1.4.0" [dev-dependencies.pretty_assertions] version = "1.2.0" [dev-dependencies.rand] version = "0.8.5" [dev-dependencies.time] version = "0.3" features = ["macros"] [dev-dependencies.tokio] version = "1.0" features = [ "macros", "rt-multi-thread", ] [dev-dependencies.tower-http] version = "0.2.5" features = ["trace"] [dev-dependencies.tracing] version = "0.1.32" [dev-dependencies.tracing-subscriber] version = "0.3.9" features = ["env-filter"] [features] arbitrary_precision = ["serde_json/arbitrary_precision"] default = [ "oauth2", "native-tls", ] native-tls = [ "oauth2/native-tls", "reqwest/native-tls", ] rustls-tls = [ "oauth2/rustls-tls", "reqwest/rustls-tls", ]