Skip to content

Migrate from zio to std.Io#2

Merged
lalinsky merged 1 commit into
mainfrom
migrate-to-std-io
May 14, 2026
Merged

Migrate from zio to std.Io#2
lalinsky merged 1 commit into
mainfrom
migrate-to-std-io

Conversation

@lalinsky

Copy link
Copy Markdown
Owner

Summary

  • Replace zio dependency with Zig 0.16.0's built-in std.Io
  • Update all APIs to pass io: std.Io parameter
  • Update CI to use Zig 0.16.0
  • Update test_runner for std.Io compatibility

Changes

  • zio.Durationstd.Io.Duration
  • zio.Timeoutstd.Io.Timeout
  • zio.sleep()io.sleep(duration, .awake)
  • zio.net.tcpConnectToHost()std.Io.net.HostName.init().connect()
  • zio.Mutexstd.Io.Mutex with lock(io), unlock(io)
  • Main entry point: pub fn main() !voidpub fn main(init: std.process.Init) !void

@lalinsky
lalinsky merged commit 7aa1838 into main May 14, 2026
1 check passed
@lalinsky
lalinsky deleted the migrate-to-std-io branch May 14, 2026 11:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant