chore: Remove unused dependencies (#1244)

This commit is contained in:
tottoto
2023-02-04 19:12:17 +09:00
committed by GitHub
parent ff642f9233
commit 0ac0ce8ce7
4 changed files with 2 additions and 7 deletions
-1
View File
@@ -25,7 +25,6 @@ http = "0.2"
http-body = "0.4.2"
hyper = "0.14"
prost = "0.11"
prost-derive = "0.11"
tokio = {version = "1.0", features = ["rt-multi-thread", "time", "macros", "fs"]}
tokio-stream = "0.1"
tonic = {path = "../tonic", features = ["tls"]}
-1
View File
@@ -15,7 +15,6 @@ hyper = "0.14.3"
pin-project = "1.0"
prost = "0.11"
tokio = {version = "1.0", features = ["macros", "rt-multi-thread", "net"]}
tokio-stream = {version = "0.1.5", features = ["net"]}
tonic = {path = "../../tonic", features = ["gzip"]}
tower = {version = "0.4", features = []}
tower-http = {version = "0.3", features = ["map-response-body", "map-request-body"]}
@@ -10,7 +10,6 @@ version = "0.1.0"
[dependencies]
prost = "0.11"
prost-types = "0.11"
tonic = {path = "../../../tonic"}
uuid = {package = "uuid1", path = "../uuid"}
+2 -4
View File
@@ -26,7 +26,7 @@ version = "0.8.3"
codegen = ["dep:async-trait"]
gzip = ["dep:flate2"]
default = ["transport", "codegen", "prost"]
prost = ["dep:prost", "dep:prost-derive"]
prost = ["dep:prost"]
tls = ["dep:rustls-pemfile", "transport", "dep:tokio-rustls"]
tls-roots = ["tls-roots-common", "dep:rustls-native-certs"]
tls-roots-common = ["tls"]
@@ -59,13 +59,11 @@ async-stream = "0.3"
http-body = "0.4.4"
percent-encoding = "2.1"
pin-project = "1.0.11"
tokio-util = {version = "0.7", features = ["codec"]}
tower-layer = "0.3"
tower-service = "0.3"
# prost
prost-derive = {version = "0.11", optional = true}
prost = {version = "0.11", optional = true}
prost = {version = "0.11", default-features = false, features = ["std"], optional = true}
# codegen
async-trait = {version = "0.1.13", optional = true}