-
Notifications
You must be signed in to change notification settings - Fork 29
/
Copy pathCargo.toml
46 lines (43 loc) · 1.62 KB
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
[package]
name = "twitter-v2"
version = "0.1.8"
edition = "2021"
license = "MIT OR Apache-2.0"
readme = "README.md"
homepage = "https://github.com/jpopesculian/twitter-v2-rs"
documentation = "https://docs.rs/twitter-v2/"
repository = "https://github.com/jpopesculian/twitter-v2-rs"
description = "Twitter API v2"
keywords = ["twitter", "v2", "api", "client", "oauth"]
categories = ["web-programming::http-client"]
[features]
default = ["oauth2", "native-tls"]
rustls-tls = ["oauth2/rustls-tls", "reqwest/rustls-tls"]
native-tls = ["oauth2/native-tls", "reqwest/native-tls"]
arbitrary_precision = ["serde_json/arbitrary_precision"]
[dependencies]
async-trait = "0.1"
futures = "0.3"
oauth1 = { version = "0.5", package = "oauth1-request" }
oauth2 = { version = "4.1", optional = true, default-features = false, features = ["reqwest"] }
percent-encoding = "2.1"
pin-project-lite = "0.2"
reqwest = { version = "0.11", default-features = false, features = ["json", "stream"] }
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
serde_urlencoded = "0.7"
strum = { version = "0.24", features = ["derive"] }
thiserror = "1.0"
time = { version = "0.3", features = ["serde", "serde-well-known"] }
tokio = { version = "1.0", default-features = false, features = ["sync"] }
url = "2.2"
[dev-dependencies]
axum = "0.4.8"
lazy_static = "1.4.0"
rand = "0.8.5"
tokio = { version = "1.0", features = ["macros", "rt-multi-thread"] }
tower-http = { version = "0.2.5", features = ["trace"] }
tracing = "0.1.32"
time = { version = "0.3", features = ["macros"] }
tracing-subscriber = { version = "0.3.9", features = ["env-filter"] }
pretty_assertions = "1.2.0"