Home

Awesome

Notice

This package is deprecated and archived for the foreseeable future due to the zig master being an ever changing target and my lack of time to address and fix things that have changed. Those looking for a similar experience should look at haze/zelda.

zfetch

Linux Workflow Status Windows Workflow Status MacOS Workflow Status

A HTTP request library for Zig with HTTPS support.

Features

Notes

Adding zfetch as a package

Gyro

# gyro.zzz

...

deps:
  truemedian/zfetch: ^0.1.1

...

Zigmod

# zig.mod

...

dependencies:
  - type: git
    path: https://github.com/truemedian/zfetch

...

Submodules

Assuming zfetch is recursively checked out at libs/zfetch

// build.zig

const zfetch = @import("libs/zfetch/build.zig");

...

exe.addPackage(zfetch.getPackage(b, "libs/zfetch"));

...

Examples

see examples.

More Coming Soon...?