diff --git a/README.md b/README.md index f45d301..6bc9cd6 100644 --- a/README.md +++ b/README.md @@ -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 diff --git a/examples/Cargo.toml b/examples/Cargo.toml index 077bae4..17ec72f 100644 --- a/examples/Cargo.toml +++ b/examples/Cargo.toml @@ -1,6 +1,6 @@ [package] authors = ["Lucio Franco "] -edition = "2021" +edition = "2018" license = "MIT" name = "examples" publish = false diff --git a/interop/Cargo.toml b/interop/Cargo.toml index 856378f..ecb312f 100644 --- a/interop/Cargo.toml +++ b/interop/Cargo.toml @@ -1,6 +1,6 @@ [package] authors = ["Lucio Franco "] -edition = "2021" +edition = "2018" license = "MIT" name = "interop" publish = false diff --git a/rustfmt.toml b/rustfmt.toml index 3a26366..32a9786 100644 --- a/rustfmt.toml +++ b/rustfmt.toml @@ -1 +1 @@ -edition = "2021" +edition = "2018" diff --git a/tests/ambiguous_methods/Cargo.toml b/tests/ambiguous_methods/Cargo.toml index 263db18..b009546 100644 --- a/tests/ambiguous_methods/Cargo.toml +++ b/tests/ambiguous_methods/Cargo.toml @@ -1,6 +1,6 @@ [package] authors = ["Yonathan Randolph "] -edition = "2021" +edition = "2018" license = "MIT" name = "ambiguous_methods" publish = false diff --git a/tests/compression/Cargo.toml b/tests/compression/Cargo.toml index bff48e2..e971795 100644 --- a/tests/compression/Cargo.toml +++ b/tests/compression/Cargo.toml @@ -1,6 +1,6 @@ [package] authors = ["Lucio Franco "] -edition = "2021" +edition = "2018" license = "MIT" name = "compression" publish = false diff --git a/tests/extern_path/my_application/Cargo.toml b/tests/extern_path/my_application/Cargo.toml index 359d1f9..e16c0f2 100644 --- a/tests/extern_path/my_application/Cargo.toml +++ b/tests/extern_path/my_application/Cargo.toml @@ -1,6 +1,6 @@ [package] authors = ["Danny Hua "] -edition = "2021" +edition = "2018" license = "MIT" name = "my_application" publish = false diff --git a/tests/extern_path/uuid/Cargo.toml b/tests/extern_path/uuid/Cargo.toml index 089f487..450aa74 100644 --- a/tests/extern_path/uuid/Cargo.toml +++ b/tests/extern_path/uuid/Cargo.toml @@ -1,6 +1,6 @@ [package] authors = ["Danny Hua "] -edition = "2021" +edition = "2018" license = "MIT" name = "uuid1" publish = false diff --git a/tests/included_service/Cargo.toml b/tests/included_service/Cargo.toml index 935d39d..6b4ce19 100644 --- a/tests/included_service/Cargo.toml +++ b/tests/included_service/Cargo.toml @@ -1,6 +1,6 @@ [package] authors = ["Lucio Franco "] -edition = "2021" +edition = "2018" license = "MIT" name = "included_service" publish = false diff --git a/tests/integration_tests/Cargo.toml b/tests/integration_tests/Cargo.toml index 478fc04..96863ab 100644 --- a/tests/integration_tests/Cargo.toml +++ b/tests/integration_tests/Cargo.toml @@ -1,6 +1,6 @@ [package] authors = ["Lucio Franco "] -edition = "2021" +edition = "2018" license = "MIT" name = "integration-tests" publish = false diff --git a/tests/root-crate-path/Cargo.toml b/tests/root-crate-path/Cargo.toml index ae95e71..852169b 100644 --- a/tests/root-crate-path/Cargo.toml +++ b/tests/root-crate-path/Cargo.toml @@ -1,6 +1,6 @@ [package] authors = ["Lucio Franco "] -edition = "2021" +edition = "2018" license = "MIT" name = "root-crate-path" publish = false diff --git a/tests/same_name/Cargo.toml b/tests/same_name/Cargo.toml index 7bb2a2a..5640842 100644 --- a/tests/same_name/Cargo.toml +++ b/tests/same_name/Cargo.toml @@ -1,6 +1,6 @@ [package] authors = ["Lucio Franco "] -edition = "2021" +edition = "2018" license = "MIT" name = "same_name" publish = false diff --git a/tests/service_named_service/Cargo.toml b/tests/service_named_service/Cargo.toml index fdc5744..3eb6178 100644 --- a/tests/service_named_service/Cargo.toml +++ b/tests/service_named_service/Cargo.toml @@ -1,6 +1,6 @@ [package] authors = ["Lucio Franco "] -edition = "2021" +edition = "2018" license = "MIT" name = "service_named_service" publish = false diff --git a/tests/stream_conflict/Cargo.toml b/tests/stream_conflict/Cargo.toml index 9b8f8d0..9826e21 100644 --- a/tests/stream_conflict/Cargo.toml +++ b/tests/stream_conflict/Cargo.toml @@ -1,6 +1,6 @@ [package] authors = ["Ben Sully "] -edition = "2021" +edition = "2018" name = "stream_conflict" publish = false version = "0.1.0" diff --git a/tests/wellknown-compiled/Cargo.toml b/tests/wellknown-compiled/Cargo.toml index 1d442e6..c2894b6 100644 --- a/tests/wellknown-compiled/Cargo.toml +++ b/tests/wellknown-compiled/Cargo.toml @@ -1,6 +1,6 @@ [package] authors = ["Lucio Franco "] -edition = "2021" +edition = "2018" license = "MIT" name = "wellknown-compiled" publish = false diff --git a/tests/wellknown/Cargo.toml b/tests/wellknown/Cargo.toml index b380f43..9fc39f5 100644 --- a/tests/wellknown/Cargo.toml +++ b/tests/wellknown/Cargo.toml @@ -1,6 +1,6 @@ [package] authors = ["Lucio Franco "] -edition = "2021" +edition = "2018" license = "MIT" name = "wellknown" publish = false diff --git a/tonic-build/Cargo.toml b/tonic-build/Cargo.toml index 4a699e5..0a031c2 100644 --- a/tonic-build/Cargo.toml +++ b/tonic-build/Cargo.toml @@ -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" diff --git a/tonic-health/Cargo.toml b/tonic-health/Cargo.toml index 7daeebe..ace438e 100644 --- a/tonic-health/Cargo.toml +++ b/tonic-health/Cargo.toml @@ -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" diff --git a/tonic-reflection/Cargo.toml b/tonic-reflection/Cargo.toml index 2bf4837..8853818 100644 --- a/tonic-reflection/Cargo.toml +++ b/tonic-reflection/Cargo.toml @@ -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" diff --git a/tonic-types/Cargo.toml b/tonic-types/Cargo.toml index 4223a9b..d902f69 100644 --- a/tonic-types/Cargo.toml +++ b/tonic-types/Cargo.toml @@ -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" diff --git a/tonic-web/Cargo.toml b/tonic-web/Cargo.toml index 6f57371..35acf4e 100644 --- a/tonic-web/Cargo.toml +++ b/tonic-web/Cargo.toml @@ -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" diff --git a/tonic-web/tests/integration/Cargo.toml b/tonic-web/tests/integration/Cargo.toml index 63e5b97..cdc2816 100644 --- a/tonic-web/tests/integration/Cargo.toml +++ b/tonic-web/tests/integration/Cargo.toml @@ -1,6 +1,6 @@ [package] authors = ["Juan Alvarez "] -edition = "2021" +edition = "2018" name = "integration" publish = false version = "0.1.0" diff --git a/tonic/Cargo.toml b/tonic/Cargo.toml index 132abd3..9573426 100644 --- a/tonic/Cargo.toml +++ b/tonic/Cargo.toml @@ -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"