chore: Upgrade to 2021 edition (#808)

This commit is contained in:
Lucio Franco
2021-10-24 21:12:20 -04:00
committed by GitHub
parent cc2b1634e2
commit 1f3df8db9e
23 changed files with 250 additions and 251 deletions
+13 -13
View File
@@ -1,20 +1,20 @@
[package]
name = "tonic-reflection"
version = "0.2.0"
authors = [
"James Nugent <[email protected]>",
"Samani G. Gikandi <[email protected]>"
"Samani G. Gikandi <[email protected]>",
]
edition = "2018"
license = "MIT"
repository = "https://github.com/hyperium/tonic"
homepage = "https://github.com/hyperium/tonic"
categories = ["network-programming", "asynchronous"]
description = """
Server Reflection module of `tonic` gRPC implementation.
"""
readme = "README.md"
categories = ["network-programming", "asynchronous"]
edition = "2021"
homepage = "https://github.com/hyperium/tonic"
keywords = ["rpc", "grpc", "async", "reflection"]
license = "MIT"
name = "tonic-reflection"
readme = "README.md"
repository = "https://github.com/hyperium/tonic"
version = "0.2.0"
[features]
default = ["rustfmt"]
@@ -24,12 +24,12 @@ rustfmt = ["tonic-build/rustfmt"]
bytes = "1.0"
prost = "0.9"
prost-types = "0.9"
tokio = { version = "1.0", features = ["sync"] }
tokio-stream = { version = "0.1", features = ["net"] }
tonic = { version = "0.6", path = "../tonic", features = ["codegen", "prost"] }
tokio = {version = "1.0", features = ["sync"]}
tokio-stream = {version = "0.1", features = ["net"]}
tonic = {version = "0.6", path = "../tonic", features = ["codegen", "prost"]}
[build-dependencies]
tonic-build = { version = "0.6", path = "../tonic-build", features = ["transport", "prost"] }
tonic-build = {version = "0.6", path = "../tonic-build", features = ["transport", "prost"]}
[dev-dependencies]
futures = "0.3"