iopipe v0.2.0 - safe update
Steven Schveighoffer
schveiguy at gmail.com
Sun Jun 28 21:07:20 UTC 2020
On 6/28/20 2:57 PM, Steven Schveighoffer wrote:
> Just wanted to post that I finished my update of iopipe to be @safe. I
> still have some work to do with std.io so things are more usable (next
> on my list is to make standard handles accessible).
>
> In this update, I've made it so nearly all of iopipe can be used in
> @safe code. The one exception is the RingBuffer, which can leave
> dangling pointers, hence the unsafety.
I forgot to mention (and was kindly reminded by Jon Degenhardt), this is
the first release where Martin's std.io library
(https://github.com/MartinNowak/io) is optional. In the future, iopipe
will remove this dependency. The only thing that depends on std.io is
the deprecated `openDev` function.
So if you were expecting iopipe to bring in that dependency, you will
have to add it to your dub.json/dub.sdl file.
-Steve
More information about the Digitalmars-d-announce
mailing list