chore: revert to 2018 edition (#847)
Fixes https://github.com/hyperium/tonic/issues/843
This commit is contained in:
@@ -41,7 +41,7 @@ the generated code.
|
|||||||
|
|
||||||
### Rust Version
|
### 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
|
```bash
|
||||||
$ rustup update
|
$ rustup update
|
||||||
|
|||||||
+1
-1
@@ -1,6 +1,6 @@
|
|||||||
[package]
|
[package]
|
||||||
authors = ["Lucio Franco <[email protected]>"]
|
authors = ["Lucio Franco <[email protected]>"]
|
||||||
edition = "2021"
|
edition = "2018"
|
||||||
license = "MIT"
|
license = "MIT"
|
||||||
name = "examples"
|
name = "examples"
|
||||||
publish = false
|
publish = false
|
||||||
|
|||||||
+1
-1
@@ -1,6 +1,6 @@
|
|||||||
[package]
|
[package]
|
||||||
authors = ["Lucio Franco <[email protected]>"]
|
authors = ["Lucio Franco <[email protected]>"]
|
||||||
edition = "2021"
|
edition = "2018"
|
||||||
license = "MIT"
|
license = "MIT"
|
||||||
name = "interop"
|
name = "interop"
|
||||||
publish = false
|
publish = false
|
||||||
|
|||||||
+1
-1
@@ -1 +1 @@
|
|||||||
edition = "2021"
|
edition = "2018"
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
[package]
|
[package]
|
||||||
authors = ["Yonathan Randolph <[email protected]>"]
|
authors = ["Yonathan Randolph <[email protected]>"]
|
||||||
edition = "2021"
|
edition = "2018"
|
||||||
license = "MIT"
|
license = "MIT"
|
||||||
name = "ambiguous_methods"
|
name = "ambiguous_methods"
|
||||||
publish = false
|
publish = false
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
[package]
|
[package]
|
||||||
authors = ["Lucio Franco <[email protected]>"]
|
authors = ["Lucio Franco <[email protected]>"]
|
||||||
edition = "2021"
|
edition = "2018"
|
||||||
license = "MIT"
|
license = "MIT"
|
||||||
name = "compression"
|
name = "compression"
|
||||||
publish = false
|
publish = false
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
[package]
|
[package]
|
||||||
authors = ["Danny Hua <[email protected]>"]
|
authors = ["Danny Hua <[email protected]>"]
|
||||||
edition = "2021"
|
edition = "2018"
|
||||||
license = "MIT"
|
license = "MIT"
|
||||||
name = "my_application"
|
name = "my_application"
|
||||||
publish = false
|
publish = false
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
[package]
|
[package]
|
||||||
authors = ["Danny Hua <[email protected]>"]
|
authors = ["Danny Hua <[email protected]>"]
|
||||||
edition = "2021"
|
edition = "2018"
|
||||||
license = "MIT"
|
license = "MIT"
|
||||||
name = "uuid1"
|
name = "uuid1"
|
||||||
publish = false
|
publish = false
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
[package]
|
[package]
|
||||||
authors = ["Lucio Franco <[email protected]>"]
|
authors = ["Lucio Franco <[email protected]>"]
|
||||||
edition = "2021"
|
edition = "2018"
|
||||||
license = "MIT"
|
license = "MIT"
|
||||||
name = "included_service"
|
name = "included_service"
|
||||||
publish = false
|
publish = false
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
[package]
|
[package]
|
||||||
authors = ["Lucio Franco <[email protected]>"]
|
authors = ["Lucio Franco <[email protected]>"]
|
||||||
edition = "2021"
|
edition = "2018"
|
||||||
license = "MIT"
|
license = "MIT"
|
||||||
name = "integration-tests"
|
name = "integration-tests"
|
||||||
publish = false
|
publish = false
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
[package]
|
[package]
|
||||||
authors = ["Lucio Franco <[email protected]>"]
|
authors = ["Lucio Franco <[email protected]>"]
|
||||||
edition = "2021"
|
edition = "2018"
|
||||||
license = "MIT"
|
license = "MIT"
|
||||||
name = "root-crate-path"
|
name = "root-crate-path"
|
||||||
publish = false
|
publish = false
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
[package]
|
[package]
|
||||||
authors = ["Lucio Franco <[email protected]>"]
|
authors = ["Lucio Franco <[email protected]>"]
|
||||||
edition = "2021"
|
edition = "2018"
|
||||||
license = "MIT"
|
license = "MIT"
|
||||||
name = "same_name"
|
name = "same_name"
|
||||||
publish = false
|
publish = false
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
[package]
|
[package]
|
||||||
authors = ["Lucio Franco <[email protected]>"]
|
authors = ["Lucio Franco <[email protected]>"]
|
||||||
edition = "2021"
|
edition = "2018"
|
||||||
license = "MIT"
|
license = "MIT"
|
||||||
name = "service_named_service"
|
name = "service_named_service"
|
||||||
publish = false
|
publish = false
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
[package]
|
[package]
|
||||||
authors = ["Ben Sully <[email protected]>"]
|
authors = ["Ben Sully <[email protected]>"]
|
||||||
edition = "2021"
|
edition = "2018"
|
||||||
name = "stream_conflict"
|
name = "stream_conflict"
|
||||||
publish = false
|
publish = false
|
||||||
version = "0.1.0"
|
version = "0.1.0"
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
[package]
|
[package]
|
||||||
authors = ["Lucio Franco <[email protected]>"]
|
authors = ["Lucio Franco <[email protected]>"]
|
||||||
edition = "2021"
|
edition = "2018"
|
||||||
license = "MIT"
|
license = "MIT"
|
||||||
name = "wellknown-compiled"
|
name = "wellknown-compiled"
|
||||||
publish = false
|
publish = false
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
[package]
|
[package]
|
||||||
authors = ["Lucio Franco <[email protected]>"]
|
authors = ["Lucio Franco <[email protected]>"]
|
||||||
edition = "2021"
|
edition = "2018"
|
||||||
license = "MIT"
|
license = "MIT"
|
||||||
name = "wellknown"
|
name = "wellknown"
|
||||||
publish = false
|
publish = false
|
||||||
|
|||||||
@@ -5,7 +5,7 @@ description = """
|
|||||||
Codegen module of `tonic` gRPC implementation.
|
Codegen module of `tonic` gRPC implementation.
|
||||||
"""
|
"""
|
||||||
documentation = "https://docs.rs/tonic-build/0.6.0/tonic_build/"
|
documentation = "https://docs.rs/tonic-build/0.6.0/tonic_build/"
|
||||||
edition = "2021"
|
edition = "2018"
|
||||||
homepage = "https://github.com/hyperium/tonic"
|
homepage = "https://github.com/hyperium/tonic"
|
||||||
keywords = ["rpc", "grpc", "async", "codegen", "protobuf"]
|
keywords = ["rpc", "grpc", "async", "codegen", "protobuf"]
|
||||||
license = "MIT"
|
license = "MIT"
|
||||||
|
|||||||
@@ -5,7 +5,7 @@ description = """
|
|||||||
Health Checking module of `tonic` gRPC implementation.
|
Health Checking module of `tonic` gRPC implementation.
|
||||||
"""
|
"""
|
||||||
documentation = "https://docs.rs/tonic-health/0.4.0/tonic-health/"
|
documentation = "https://docs.rs/tonic-health/0.4.0/tonic-health/"
|
||||||
edition = "2021"
|
edition = "2018"
|
||||||
homepage = "https://github.com/hyperium/tonic"
|
homepage = "https://github.com/hyperium/tonic"
|
||||||
keywords = ["rpc", "grpc", "async", "healthcheck"]
|
keywords = ["rpc", "grpc", "async", "healthcheck"]
|
||||||
license = "MIT"
|
license = "MIT"
|
||||||
|
|||||||
@@ -7,7 +7,7 @@ categories = ["network-programming", "asynchronous"]
|
|||||||
description = """
|
description = """
|
||||||
Server Reflection module of `tonic` gRPC implementation.
|
Server Reflection module of `tonic` gRPC implementation.
|
||||||
"""
|
"""
|
||||||
edition = "2021"
|
edition = "2018"
|
||||||
homepage = "https://github.com/hyperium/tonic"
|
homepage = "https://github.com/hyperium/tonic"
|
||||||
keywords = ["rpc", "grpc", "async", "reflection"]
|
keywords = ["rpc", "grpc", "async", "reflection"]
|
||||||
license = "MIT"
|
license = "MIT"
|
||||||
|
|||||||
@@ -5,7 +5,7 @@ description = """
|
|||||||
A collection of useful protobuf types that can be used with `tonic`.
|
A collection of useful protobuf types that can be used with `tonic`.
|
||||||
"""
|
"""
|
||||||
documentation = "https://docs.rs/tonic-types/0.4.0/tonic-types/"
|
documentation = "https://docs.rs/tonic-types/0.4.0/tonic-types/"
|
||||||
edition = "2021"
|
edition = "2018"
|
||||||
homepage = "https://github.com/hyperium/tonic"
|
homepage = "https://github.com/hyperium/tonic"
|
||||||
keywords = ["rpc", "grpc", "protobuf"]
|
keywords = ["rpc", "grpc", "protobuf"]
|
||||||
license = "MIT"
|
license = "MIT"
|
||||||
|
|||||||
@@ -5,7 +5,7 @@ description = """
|
|||||||
grpc-web protocol translation for tonic services.
|
grpc-web protocol translation for tonic services.
|
||||||
"""
|
"""
|
||||||
documentation = "https://docs.rs/tonic-web/0.2.0/tonic-web/"
|
documentation = "https://docs.rs/tonic-web/0.2.0/tonic-web/"
|
||||||
edition = "2021"
|
edition = "2018"
|
||||||
homepage = "https://github.com/hyperium/tonic"
|
homepage = "https://github.com/hyperium/tonic"
|
||||||
keywords = ["rpc", "grpc", "grpc-web"]
|
keywords = ["rpc", "grpc", "grpc-web"]
|
||||||
license = "MIT"
|
license = "MIT"
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
[package]
|
[package]
|
||||||
authors = ["Juan Alvarez <[email protected]>"]
|
authors = ["Juan Alvarez <[email protected]>"]
|
||||||
edition = "2021"
|
edition = "2018"
|
||||||
name = "integration"
|
name = "integration"
|
||||||
publish = false
|
publish = false
|
||||||
version = "0.1.0"
|
version = "0.1.0"
|
||||||
|
|||||||
+1
-1
@@ -14,7 +14,7 @@ description = """
|
|||||||
A gRPC over HTTP/2 implementation focused on high performance, interoperability, and flexibility.
|
A gRPC over HTTP/2 implementation focused on high performance, interoperability, and flexibility.
|
||||||
"""
|
"""
|
||||||
documentation = "https://docs.rs/tonic/0.6.1/tonic/"
|
documentation = "https://docs.rs/tonic/0.6.1/tonic/"
|
||||||
edition = "2021"
|
edition = "2018"
|
||||||
homepage = "https://github.com/hyperium/tonic"
|
homepage = "https://github.com/hyperium/tonic"
|
||||||
keywords = ["rpc", "grpc", "async", "futures", "protobuf"]
|
keywords = ["rpc", "grpc", "async", "futures", "protobuf"]
|
||||||
license = "MIT"
|
license = "MIT"
|
||||||
|
|||||||
Reference in New Issue
Block a user