diff --git a/Sources/GRPCProtobuf/Coding.swift b/Sources/GRPCProtobuf/Coding.swift index 90d15ab..4be48ac 100644 --- a/Sources/GRPCProtobuf/Coding.swift +++ b/Sources/GRPCProtobuf/Coding.swift @@ -19,6 +19,7 @@ public import SwiftProtobuf /// Serializes a Protobuf message into a sequence of bytes. @available(gRPCSwiftProtobuf 1.0, *) +@available(*, deprecated, message: "See https://forums.swift.org/t/80177") public struct ProtobufSerializer: GRPCCore.MessageSerializer { public init() {} @@ -43,6 +44,7 @@ public struct ProtobufSerializer: GRPCCore.Messa /// Deserializes a sequence of bytes into a Protobuf message. @available(gRPCSwiftProtobuf 1.0, *) +@available(*, deprecated, message: "See https://forums.swift.org/t/80177") public struct ProtobufDeserializer: GRPCCore.MessageDeserializer { public init() {} diff --git a/Sources/GRPCProtobuf/Errors/GoogleRPCStatus.swift b/Sources/GRPCProtobuf/Errors/GoogleRPCStatus.swift index 6df2d46..268ad79 100644 --- a/Sources/GRPCProtobuf/Errors/GoogleRPCStatus.swift +++ b/Sources/GRPCProtobuf/Errors/GoogleRPCStatus.swift @@ -36,6 +36,7 @@ public import SwiftProtobuf /// > the serialized bytes of a "google.rpc.Status" protocol buffers message containing the status /// > code, message, and details. @available(gRPCSwiftProtobuf 1.0, *) +@available(*, deprecated, message: "See https://forums.swift.org/t/80177") public struct GoogleRPCStatus: Error, Hashable { /// A code representing the high-level domain of the error. public var code: RPCError.Code