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
+16 -16
View File
@@ -1,31 +1,31 @@
[package]
name = "tonic-web"
version = "0.1.0"
authors = ["Juan Alvarez <[email protected]>"]
edition = "2018"
license = "MIT"
documentation = "https://docs.rs/tonic-web/0.1.0/tonic-web/"
repository = "https://github.com/hyperium/tonic"
homepage = "https://github.com/hyperium/tonic"
categories = ["network-programming", "asynchronous"]
description = """
grpc-web protocol translation for tonic services.
"""
readme = "README.md"
categories = ["network-programming", "asynchronous"]
documentation = "https://docs.rs/tonic-web/0.1.0/tonic-web/"
edition = "2021"
homepage = "https://github.com/hyperium/tonic"
keywords = ["rpc", "grpc", "grpc-web"]
license = "MIT"
name = "tonic-web"
readme = "README.md"
repository = "https://github.com/hyperium/tonic"
version = "0.1.0"
[dependencies]
tonic = { version = "0.6", path = "../tonic", default-features = false, features = ["transport"] }
http = "0.2"
base64 = "0.13"
futures-core = "0.3"
bytes = "1.0"
hyper = "0.14"
futures-core = "0.3"
http = "0.2"
http-body = "0.4"
hyper = "0.14"
pin-project = "1"
tonic = {version = "0.6", path = "../tonic", default-features = false, features = ["transport"]}
tower-service = "0.3"
tracing = "0.1"
pin-project = "1"
[dev-dependencies]
tokio = { version = "1", features = ["macros", "rt"] }
tonic = { path = "../tonic", default-features = false, features = ["transport", "tls"] }
tokio = {version = "1", features = ["macros", "rt"]}
tonic = {path = "../tonic", default-features = false, features = ["transport", "tls"]}
+9 -9
View File
@@ -1,19 +1,19 @@
[package]
name = "integration"
version = "0.1.0"
authors = ["Juan Alvarez <[email protected]>"]
edition = "2021"
name = "integration"
publish = false
edition = "2018"
version = "0.1.0"
[dependencies]
tonic = { path = "../../../tonic" }
tonic-web = { path = "../../../tonic-web" }
prost = "0.9"
tokio = { version = "1", features = ["macros", "rt", "net"] }
base64 = "0.13"
bytes = "1.0"
tokio-stream = { version = "0.1", features = ["net"] }
hyper = "0.14"
prost = "0.9"
tokio = {version = "1", features = ["macros", "rt", "net"]}
tokio-stream = {version = "0.1", features = ["net"]}
tonic = {path = "../../../tonic"}
tonic-web = {path = "../../../tonic-web"}
[build-dependencies]
tonic-build = { path = "../../../tonic-build" }
tonic-build = {path = "../../../tonic-build"}