chore: revert to 2018 edition (#847)

Fixes https://github.com/hyperium/tonic/issues/843
This commit is contained in:
David Pedersen
2021-12-07 09:49:07 +01:00
committed by GitHub
parent c62f382e3c
commit 101f2f76d4
23 changed files with 23 additions and 23 deletions
+1 -1
View File
@@ -41,7 +41,7 @@ the generated code.
### Rust Version
`tonic` currently works on Rust `1.56` and above as it requires support for the 2021 edition.
`tonic` currently works on Rust `1.56` and above as it requires support for the 2018 edition.
```bash
$ rustup update
+1 -1
View File
@@ -1,6 +1,6 @@
[package]
authors = ["Lucio Franco <luciofranco14@gmail.com>"]
edition = "2021"
edition = "2018"
license = "MIT"
name = "examples"
publish = false
+1 -1
View File
@@ -1,6 +1,6 @@
[package]
authors = ["Lucio Franco <luciofranco14@gmail.com>"]
edition = "2021"
edition = "2018"
license = "MIT"
name = "interop"
publish = false
+1 -1
View File
@@ -1 +1 @@
edition = "2021"
edition = "2018"
+1 -1
View File
@@ -1,6 +1,6 @@
[package]
authors = ["Yonathan Randolph <yonathan@gmail.com>"]
edition = "2021"
edition = "2018"
license = "MIT"
name = "ambiguous_methods"
publish = false
+1 -1
View File
@@ -1,6 +1,6 @@
[package]
authors = ["Lucio Franco <luciofranco14@gmail.com>"]
edition = "2021"
edition = "2018"
license = "MIT"
name = "compression"
publish = false
+1 -1
View File
@@ -1,6 +1,6 @@
[package]
authors = ["Danny Hua <danny@42layers.io>"]
edition = "2021"
edition = "2018"
license = "MIT"
name = "my_application"
publish = false
+1 -1
View File
@@ -1,6 +1,6 @@
[package]
authors = ["Danny Hua <danny@42layers.io>"]
edition = "2021"
edition = "2018"
license = "MIT"
name = "uuid1"
publish = false
+1 -1
View File
@@ -1,6 +1,6 @@
[package]
authors = ["Lucio Franco <luciofranco14@gmail.com>"]
edition = "2021"
edition = "2018"
license = "MIT"
name = "included_service"
publish = false
+1 -1
View File
@@ -1,6 +1,6 @@
[package]
authors = ["Lucio Franco <luciofranco14@gmail.com>"]
edition = "2021"
edition = "2018"
license = "MIT"
name = "integration-tests"
publish = false
+1 -1
View File
@@ -1,6 +1,6 @@
[package]
authors = ["Lucio Franco <luciofranco14@gmail.com>"]
edition = "2021"
edition = "2018"
license = "MIT"
name = "root-crate-path"
publish = false
+1 -1
View File
@@ -1,6 +1,6 @@
[package]
authors = ["Lucio Franco <luciofranco14@gmail.com>"]
edition = "2021"
edition = "2018"
license = "MIT"
name = "same_name"
publish = false
+1 -1
View File
@@ -1,6 +1,6 @@
[package]
authors = ["Lucio Franco <luciofranco14@gmail.com>"]
edition = "2021"
edition = "2018"
license = "MIT"
name = "service_named_service"
publish = false
+1 -1
View File
@@ -1,6 +1,6 @@
[package]
authors = ["Ben Sully <ben@bsull.io>"]
edition = "2021"
edition = "2018"
name = "stream_conflict"
publish = false
version = "0.1.0"
+1 -1
View File
@@ -1,6 +1,6 @@
[package]
authors = ["Lucio Franco <luciofranco14@gmail.com>"]
edition = "2021"
edition = "2018"
license = "MIT"
name = "wellknown-compiled"
publish = false
+1 -1
View File
@@ -1,6 +1,6 @@
[package]
authors = ["Lucio Franco <luciofranco14@gmail.com>"]
edition = "2021"
edition = "2018"
license = "MIT"
name = "wellknown"
publish = false
+1 -1
View File
@@ -5,7 +5,7 @@ description = """
Codegen module of `tonic` gRPC implementation.
"""
documentation = "https://docs.rs/tonic-build/0.6.0/tonic_build/"
edition = "2021"
edition = "2018"
homepage = "https://github.com/hyperium/tonic"
keywords = ["rpc", "grpc", "async", "codegen", "protobuf"]
license = "MIT"
+1 -1
View File
@@ -5,7 +5,7 @@ description = """
Health Checking module of `tonic` gRPC implementation.
"""
documentation = "https://docs.rs/tonic-health/0.4.0/tonic-health/"
edition = "2021"
edition = "2018"
homepage = "https://github.com/hyperium/tonic"
keywords = ["rpc", "grpc", "async", "healthcheck"]
license = "MIT"
+1 -1
View File
@@ -7,7 +7,7 @@ categories = ["network-programming", "asynchronous"]
description = """
Server Reflection module of `tonic` gRPC implementation.
"""
edition = "2021"
edition = "2018"
homepage = "https://github.com/hyperium/tonic"
keywords = ["rpc", "grpc", "async", "reflection"]
license = "MIT"
+1 -1
View File
@@ -5,7 +5,7 @@ description = """
A collection of useful protobuf types that can be used with `tonic`.
"""
documentation = "https://docs.rs/tonic-types/0.4.0/tonic-types/"
edition = "2021"
edition = "2018"
homepage = "https://github.com/hyperium/tonic"
keywords = ["rpc", "grpc", "protobuf"]
license = "MIT"
+1 -1
View File
@@ -5,7 +5,7 @@ description = """
grpc-web protocol translation for tonic services.
"""
documentation = "https://docs.rs/tonic-web/0.2.0/tonic-web/"
edition = "2021"
edition = "2018"
homepage = "https://github.com/hyperium/tonic"
keywords = ["rpc", "grpc", "grpc-web"]
license = "MIT"
+1 -1
View File
@@ -1,6 +1,6 @@
[package]
authors = ["Juan Alvarez <j@yabit.io>"]
edition = "2021"
edition = "2018"
name = "integration"
publish = false
version = "0.1.0"
+1 -1
View File
@@ -14,7 +14,7 @@ description = """
A gRPC over HTTP/2 implementation focused on high performance, interoperability, and flexibility.
"""
documentation = "https://docs.rs/tonic/0.6.1/tonic/"
edition = "2021"
edition = "2018"
homepage = "https://github.com/hyperium/tonic"
keywords = ["rpc", "grpc", "async", "futures", "protobuf"]
license = "MIT"