feat: Update prost to 0.10 (#948)
This commit is contained in:
+2
-2
@@ -181,7 +181,7 @@ path = "src/streaming/server.rs"
|
|||||||
[dependencies]
|
[dependencies]
|
||||||
async-stream = "0.3"
|
async-stream = "0.3"
|
||||||
futures = { version = "0.3", default-features = false, features = ["alloc"] }
|
futures = { version = "0.3", default-features = false, features = ["alloc"] }
|
||||||
prost = "0.9"
|
prost = "0.10"
|
||||||
tokio = { version = "1.0", features = [ "rt-multi-thread", "time", "fs", "macros", "net",] }
|
tokio = { version = "1.0", features = [ "rt-multi-thread", "time", "fs", "macros", "net",] }
|
||||||
tokio-stream = { version = "0.1", features = ["net"] }
|
tokio-stream = { version = "0.1", features = ["net"] }
|
||||||
tonic = { path = "../tonic", features = ["tls", "compression"] }
|
tonic = { path = "../tonic", features = ["tls", "compression"] }
|
||||||
@@ -196,7 +196,7 @@ tracing-attributes = "0.1"
|
|||||||
tracing-futures = "0.2"
|
tracing-futures = "0.2"
|
||||||
tracing-subscriber = { version = "0.3", features = ["tracing-log"] }
|
tracing-subscriber = { version = "0.3", features = ["tracing-log"] }
|
||||||
# Required for wellknown types
|
# Required for wellknown types
|
||||||
prost-types = "0.9"
|
prost-types = "0.10"
|
||||||
# Hyper example
|
# Hyper example
|
||||||
http = "0.2"
|
http = "0.2"
|
||||||
http-body = "0.4.2"
|
http-body = "0.4.2"
|
||||||
|
|||||||
+2
-2
@@ -24,8 +24,8 @@ futures-util = "0.3"
|
|||||||
http = "0.2"
|
http = "0.2"
|
||||||
http-body = "0.4.2"
|
http-body = "0.4.2"
|
||||||
hyper = "0.14"
|
hyper = "0.14"
|
||||||
prost = "0.9"
|
prost = "0.10"
|
||||||
prost-derive = "0.9"
|
prost-derive = "0.10"
|
||||||
tokio = {version = "1.0", features = ["rt-multi-thread", "time", "macros", "fs"]}
|
tokio = {version = "1.0", features = ["rt-multi-thread", "time", "macros", "fs"]}
|
||||||
tokio-stream = "0.1"
|
tokio-stream = "0.1"
|
||||||
tonic = {path = "../tonic", features = ["tls"]}
|
tonic = {path = "../tonic", features = ["tls"]}
|
||||||
|
|||||||
@@ -9,7 +9,7 @@ version = "0.1.0"
|
|||||||
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
prost = "0.9"
|
prost = "0.10"
|
||||||
tonic = {path = "../../tonic"}
|
tonic = {path = "../../tonic"}
|
||||||
|
|
||||||
[build-dependencies]
|
[build-dependencies]
|
||||||
|
|||||||
@@ -13,7 +13,7 @@ http = "0.2"
|
|||||||
http-body = "0.4"
|
http-body = "0.4"
|
||||||
hyper = "0.14.3"
|
hyper = "0.14.3"
|
||||||
pin-project = "1.0"
|
pin-project = "1.0"
|
||||||
prost = "0.9"
|
prost = "0.10"
|
||||||
tokio = {version = "1.0", features = ["macros", "rt-multi-thread", "net"]}
|
tokio = {version = "1.0", features = ["macros", "rt-multi-thread", "net"]}
|
||||||
tokio-stream = {version = "0.1.5", features = ["net"]}
|
tokio-stream = {version = "0.1.5", features = ["net"]}
|
||||||
tonic = {path = "../../tonic", features = ["compression"]}
|
tonic = {path = "../../tonic", features = ["compression"]}
|
||||||
|
|||||||
@@ -9,8 +9,8 @@ version = "0.1.0"
|
|||||||
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
prost = "0.9"
|
prost = "0.10"
|
||||||
prost-types = "0.9"
|
prost-types = "0.10"
|
||||||
tonic = {path = "../../../tonic"}
|
tonic = {path = "../../../tonic"}
|
||||||
uuid = {package = "uuid1", path = "../uuid"}
|
uuid = {package = "uuid1", path = "../uuid"}
|
||||||
|
|
||||||
|
|||||||
@@ -10,6 +10,6 @@ version = "0.1.0"
|
|||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
bytes = "1.0"
|
bytes = "1.0"
|
||||||
prost = "0.9"
|
prost = "0.10"
|
||||||
[build-dependencies]
|
[build-dependencies]
|
||||||
prost-build = "0.9"
|
prost-build = "0.10"
|
||||||
|
|||||||
@@ -9,7 +9,7 @@ version = "0.1.0"
|
|||||||
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
prost = "0.9"
|
prost = "0.10"
|
||||||
tonic = {path = "../../tonic"}
|
tonic = {path = "../../tonic"}
|
||||||
|
|
||||||
[build-dependencies]
|
[build-dependencies]
|
||||||
|
|||||||
@@ -11,7 +11,7 @@ version = "0.1.0"
|
|||||||
[dependencies]
|
[dependencies]
|
||||||
bytes = "1.0"
|
bytes = "1.0"
|
||||||
futures-util = "0.3"
|
futures-util = "0.3"
|
||||||
prost = "0.9"
|
prost = "0.10"
|
||||||
tokio = {version = "1.0", features = ["macros", "rt-multi-thread", "net"]}
|
tokio = {version = "1.0", features = ["macros", "rt-multi-thread", "net"]}
|
||||||
tonic = {path = "../../tonic"}
|
tonic = {path = "../../tonic"}
|
||||||
|
|
||||||
|
|||||||
@@ -7,7 +7,7 @@ publish = false
|
|||||||
version = "0.1.0"
|
version = "0.1.0"
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
prost = "0.9"
|
prost = "0.10"
|
||||||
tonic = {path = "../../tonic"}
|
tonic = {path = "../../tonic"}
|
||||||
|
|
||||||
[build_dependencies]
|
[build_dependencies]
|
||||||
|
|||||||
@@ -9,7 +9,7 @@ version = "0.1.0"
|
|||||||
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
prost = "0.9"
|
prost = "0.10"
|
||||||
tonic = {path = "../../tonic"}
|
tonic = {path = "../../tonic"}
|
||||||
|
|
||||||
[build-dependencies]
|
[build-dependencies]
|
||||||
|
|||||||
@@ -9,7 +9,7 @@ version = "0.1.0"
|
|||||||
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
prost = "0.9"
|
prost = "0.10"
|
||||||
tonic = {path = "../../tonic"}
|
tonic = {path = "../../tonic"}
|
||||||
|
|
||||||
[build-dependencies]
|
[build-dependencies]
|
||||||
|
|||||||
@@ -9,7 +9,7 @@ license = "MIT"
|
|||||||
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
prost = "0.9"
|
prost = "0.10"
|
||||||
tonic = { path = "../../tonic" }
|
tonic = { path = "../../tonic" }
|
||||||
|
|
||||||
[build-dependencies]
|
[build-dependencies]
|
||||||
|
|||||||
@@ -12,9 +12,9 @@ version = "0.1.0"
|
|||||||
doctest = false
|
doctest = false
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
prost = "0.9"
|
prost = "0.10"
|
||||||
tonic = {path = "../../tonic"}
|
tonic = {path = "../../tonic"}
|
||||||
|
|
||||||
[build-dependencies]
|
[build-dependencies]
|
||||||
prost-build = "0.9"
|
prost-build = "0.10"
|
||||||
tonic-build = {path = "../../tonic-build"}
|
tonic-build = {path = "../../tonic-build"}
|
||||||
|
|||||||
@@ -9,8 +9,8 @@ version = "0.1.0"
|
|||||||
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
prost = "0.9"
|
prost = "0.10"
|
||||||
prost-types = "0.9"
|
prost-types = "0.10"
|
||||||
tonic = {path = "../../tonic"}
|
tonic = {path = "../../tonic"}
|
||||||
|
|
||||||
[build-dependencies]
|
[build-dependencies]
|
||||||
|
|||||||
@@ -17,7 +17,7 @@ version = "0.6.2"
|
|||||||
[dependencies]
|
[dependencies]
|
||||||
prettyplease = {version = "0.1"}
|
prettyplease = {version = "0.1"}
|
||||||
proc-macro2 = "1.0"
|
proc-macro2 = "1.0"
|
||||||
prost-build = {version = "0.9", optional = true}
|
prost-build = {version = "0.10", optional = true}
|
||||||
quote = "1.0"
|
quote = "1.0"
|
||||||
syn = "1.0"
|
syn = "1.0"
|
||||||
|
|
||||||
|
|||||||
@@ -21,7 +21,7 @@ transport = ["tonic/transport", "tonic-build/transport"]
|
|||||||
[dependencies]
|
[dependencies]
|
||||||
async-stream = "0.3"
|
async-stream = "0.3"
|
||||||
bytes = "1.0"
|
bytes = "1.0"
|
||||||
prost = "0.9"
|
prost = "0.10"
|
||||||
tokio = {version = "1.0", features = ["sync"]}
|
tokio = {version = "1.0", features = ["sync"]}
|
||||||
tokio-stream = "0.1"
|
tokio-stream = "0.1"
|
||||||
tonic = {version = "0.6", path = "../tonic", features = ["codegen", "prost"]}
|
tonic = {version = "0.6", path = "../tonic", features = ["codegen", "prost"]}
|
||||||
|
|||||||
@@ -18,8 +18,8 @@ version = "0.3.0"
|
|||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
bytes = "1.0"
|
bytes = "1.0"
|
||||||
prost = "0.9"
|
prost = "0.10"
|
||||||
prost-types = "0.9"
|
prost-types = "0.10"
|
||||||
tokio = {version = "1.0", features = ["sync"]}
|
tokio = {version = "1.0", features = ["sync"]}
|
||||||
tokio-stream = {version = "0.1", features = ["net"]}
|
tokio-stream = {version = "0.1", features = ["net"]}
|
||||||
tonic = {version = "0.6", path = "../tonic", features = ["codegen", "prost"]}
|
tonic = {version = "0.6", path = "../tonic", features = ["codegen", "prost"]}
|
||||||
|
|||||||
@@ -15,8 +15,8 @@ repository = "https://github.com/hyperium/tonic"
|
|||||||
version = "0.4.0"
|
version = "0.4.0"
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
prost = "0.9"
|
prost = "0.10"
|
||||||
prost-types = "0.9"
|
prost-types = "0.10"
|
||||||
|
|
||||||
[build-dependencies]
|
[build-dependencies]
|
||||||
prost-build = "0.9"
|
prost-build = "0.10"
|
||||||
|
|||||||
@@ -10,7 +10,7 @@ license = "MIT"
|
|||||||
base64 = "0.13"
|
base64 = "0.13"
|
||||||
bytes = "1.0"
|
bytes = "1.0"
|
||||||
hyper = "0.14"
|
hyper = "0.14"
|
||||||
prost = "0.9"
|
prost = "0.10"
|
||||||
tokio = { version = "1", features = ["macros", "rt", "net"] }
|
tokio = { version = "1", features = ["macros", "rt", "net"] }
|
||||||
tokio-stream = { version = "0.1", features = ["net"] }
|
tokio-stream = { version = "0.1", features = ["net"] }
|
||||||
tonic = { path = "../../../tonic" }
|
tonic = { path = "../../../tonic" }
|
||||||
|
|||||||
+2
-2
@@ -64,8 +64,8 @@ tower-layer = "0.3"
|
|||||||
tower-service = "0.3"
|
tower-service = "0.3"
|
||||||
|
|
||||||
# prost
|
# prost
|
||||||
prost-derive = {version = "0.9", optional = true}
|
prost-derive = {version = "0.10", optional = true}
|
||||||
prost1 = {package = "prost", version = "0.9", optional = true}
|
prost1 = {package = "prost", version = "0.10", optional = true}
|
||||||
|
|
||||||
# codegen
|
# codegen
|
||||||
async-trait = {version = "0.1.13", optional = true}
|
async-trait = {version = "0.1.13", optional = true}
|
||||||
|
|||||||
Reference in New Issue
Block a user