diff --git a/Cargo.toml b/Cargo.toml index 3d034a31..0c161f1b 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -17,40 +17,41 @@ keywords = ["github", "github-api"] targets = ["x86_64-unknown-linux-gnu"] [dependencies] -serde = { version = "1.0.126", features = ["derive"] } -serde_json = "1.0.64" -serde_path_to_error = "0.1.4" async-trait = "0.1.50" +arc-swap = "1.3.0" +base64 = "0.21.0" +bytes = "1.0.1" chrono = { version = "0.4.19", default-features = false, features = [ "serde", "clock", ] } -url = { version = "2.2.2", features = ["serde"] } -snafu = { version = "0.7", features = ["backtraces"] } -once_cell = "1.7.2" -arc-swap = "1.3.0" -base64 = "0.21.0" -bytes = "1.0.1" -jsonwebtoken = "8" -futures = { version = "0.3.15" } -secrecy = "0.8.0" cfg-if = "1.0.0" either = "1.8.0" -hyper = { version = "0.14.13", features = ["client", "http1", "stream", "tcp"] } +futures = { version = "0.3.15" } +futures-core = { version = "0.3.15", optional = true } +futures-util = { version = "0.3.15", optional = true } +jsonwebtoken = "8" http = "0.2.5" -tower-http = { version = "0.4.0", features = ["map-response-body", "trace"] } -hyper-timeout = {version = "0.4.1", optional = true } http-body = "0.4.5" -tower = { version = "0.4.13", default-features = false, features = ["util", "buffer"] } +hyper = { version = "0.14.13", features = ["client", "http1", "stream", "tcp"] } hyper-rustls = { version = "0.24.0", optional = true } -tracing = { version = "0.1.37", features = ["log"], optional = true } -serde_urlencoded = "0.7.1" -pin-project = "1.0.12" -tokio = { version = "1.17.0", default-features = false, optional = true } -futures-core = { version = "0.3.15", optional = true } -futures-util = { version = "0.3.15", optional = true } +hyper-timeout = {version = "0.4.1", optional = true } hyper-tls = { version = "0.5.0", optional = true } +once_cell = "1.7.2" percent-encoding = "2.2.0" +pin-project = "1.0.12" +secrecy = "0.8.0" +serde = { version = "1.0.126", features = ["derive"] } +serde_json = "1.0.64" +serde_path_to_error = "0.1.4" +serde_urlencoded = "0.7.1" +snafu = { version = "0.7", features = ["backtraces"] } +tokio = { version = "1.17.0", default-features = false, optional = true } +tower = { version = "0.4.13", default-features = false, features = ["util", "buffer"] } +tower-http = { version = "0.4.0", features = ["map-response-body", "trace"] } +tracing = { version = "0.1.37", features = ["log"], optional = true } +url = { version = "2.2.2", features = ["serde"] } + [dev-dependencies] tokio = { version = "1.17.0", default-features = false, features = [ "macros", @@ -66,5 +67,5 @@ default = ["rustls", "timeout", "tracing", "retry"] retry = ["tower/retry", "futures-util"] rustls = ["hyper-rustls"] opentls = ["hyper-tls"] -timeout = ["hyper-timeout", "tokio", "tower/timeout"] stream = ["futures-core", "futures-util", "hyper/stream"] +timeout = ["hyper-timeout", "tokio", "tower/timeout"]