diff --git a/Sources/GRPCProtobuf/ContiguousBytesAdapter.swift b/Sources/GRPCProtobuf/ContiguousBytesAdapter.swift index c2e5fc7..96f810a 100644 --- a/Sources/GRPCProtobuf/ContiguousBytesAdapter.swift +++ b/Sources/GRPCProtobuf/ContiguousBytesAdapter.swift @@ -63,3 +63,6 @@ struct ContiguousBytesAdapter< try self.bytes.withUnsafeMutableBytes(body) } } + +@available(gRPCSwiftProtobuf 2.1, *) +extension ContiguousBytesAdapter: Sendable where Bytes: Sendable {}