chore: Update to 2021 edition (#1188)

This commit is contained in:
tottoto
2022-12-13 15:16:49 -05:00
committed by GitHub
parent 25ea473abd
commit bf22a740c3
37 changed files with 29 additions and 52 deletions
+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.5.0/tonic-types/"
edition = "2018"
edition = "2021"
homepage = "https://github.com/hyperium/tonic"
keywords = ["rpc", "grpc", "protobuf"]
license = "MIT"
@@ -1,4 +1,4 @@
use std::{convert::TryFrom, time};
use std::time;
use prost::{DecodeError, Message};
use prost_types::Any;