From 548017cb69778cb5f0cd1273b16507f81d64719e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Drvo=C5=A1t=C4=9Bp?= Date: Wed, 14 Jun 2023 11:25:37 +0200 Subject: [PATCH] Bump BufferedStreams to 1.2 --- Project.toml | 4 ++-- src/ProtoBuf.jl | 5 ----- 2 files changed, 2 insertions(+), 7 deletions(-) diff --git a/Project.toml b/Project.toml index 30ad103..fc113b4 100644 --- a/Project.toml +++ b/Project.toml @@ -4,7 +4,7 @@ keywords = ["protobuf", "protoc"] license = "MIT" desc = "Julia protobuf implementation" authors = ["Tomáš Drvoštěp "] -version = "1.0.10" +version = "1.0.11" [deps] BufferedStreams = "e1450e63-4bb3-523b-b2a4-4ffa8c0fd77d" @@ -14,7 +14,7 @@ TOML = "fa267f1f-6049-4f14-aa54-33bafae1ed76" TranscodingStreams = "3bb67fe8-82b1-5028-8e26-92a6c54297fa" [compat] -BufferedStreams = "1.1" +BufferedStreams = "1.2" EnumX = "1" TranscodingStreams = "0.9" julia = "1.6" diff --git a/src/ProtoBuf.jl b/src/ProtoBuf.jl index 3842a14..bab4f48 100644 --- a/src/ProtoBuf.jl +++ b/src/ProtoBuf.jl @@ -4,11 +4,6 @@ import TranscodingStreams import BufferedStreams using TOML -#TODO: This has to be removed, but is needed until -# https://github.com/JuliaIO/BufferedStreams.jl/pull/67 -# is merged. -Base.position(x::BufferedStreams.BufferedOutputStream) = max(0, position(x.sink) + x.position - 1) - # TODO: # - Services & RPC # - Support proper julia package generation when proto packages share a dependency