# 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 = "twapi-v2" version = "0.15.1" authors = ["aoyagikouhei "] description = "Twitter API v2 library." documentation = "https://docs.rs/twapi-v2" readme = "README.md" keywords = [ "twitter", "v2", "api", "client", "oauth", ] categories = ["api-bindings"] license = "MIT" repository = "https://github.com/aoyagikouhei/twapi-v2-rs" [package.metadata.docs.rs] all-features = true cargo-args = [ "-Zunstable-options", "-Zrustdoc-scrape-examples", ] features = [ "retry", "oauth", "oauth10a", "rustls-tls", "models", ] rustdoc-args = [ "--cfg", "docsrs", ] [dependencies.base64] version = "0.22" optional = true [dependencies.chrono] version = "0.4" features = ["serde"] [dependencies.form_urlencoded] version = "1.2" optional = true [dependencies.hmac] version = "0.12" optional = true [dependencies.itertools] version = "0.12" [dependencies.oauth2] version = "4.4" optional = true [dependencies.rand] version = "0.8" optional = true [dependencies.reqwest] version = "0.12" features = ["json"] optional = true default-features = false [dependencies.serde] version = "1" features = ["derive"] [dependencies.serde_json] version = "1" [dependencies.sha1] version = "0.10" optional = true [dependencies.thiserror] version = "1" [dependencies.tokio] version = "1" features = ["time"] optional = true [dependencies.tracing] version = "0.1" [dev-dependencies.anyhow] version = "1" [dev-dependencies.mockito] version = "1.4" [dev-dependencies.tokio] version = "1" features = ["macros"] [features] default = ["reqwest/default-tls"] models = [] oauth = ["oauth2"] oauth10a = [ "base64", "hmac", "rand", "sha1", "form_urlencoded", ] retry = ["tokio"] rustls-tls = ["reqwest/rustls-tls"] upload = [ "reqwest/multipart", "tokio", ]