build on zig master

This commit is contained in:
Emil Lerch 2021-09-16 18:31:16 -07:00
parent c9b5fac83a
commit 5cace68da4
Signed by: lobo
GPG Key ID: A7B62D657EF764F8
3 changed files with 10 additions and 5 deletions

View File

@ -1,5 +1,5 @@
pkg default ducdetronquito http 0.1.3 pkg default ducdetronquito http 0.1.3
pkg default ducdetronquito requestz 0.1.1
pkg default ducdetronquito h11 0.1.1 pkg default ducdetronquito h11 0.1.1
github alexnask iguanaTLS 0d39a361639ad5469f8e4dcdaea35446bbe54b48 src/main.zig 0d39a361639ad5469f8e4dcdaea35446bbe54b48 github nektro iguanaTLS 953ad821fae6c920fb82399493663668cd91bde7 src/main.zig 953ad821fae6c920fb82399493663668cd91bde7
github MasterQ32 zig-network b9c91769d8ebd626c8e45b2abb05cbc28ccc50da network.zig b9c91769d8ebd626c8e45b2abb05cbc28ccc50da github MasterQ32 zig-network 15b88658809cac9022ec7d59449b0cd3ebfd0361 network.zig 15b88658809cac9022ec7d59449b0cd3ebfd0361
github elerch requestz 1fa8157641300805b9503f98cd201d0959d19631 src/main.zig 1fa8157641300805b9503f98cd201d0959d19631

View File

@ -1,2 +1,7 @@
deps: deps:
ducdetronquito/requestz: ^0.1.1 requestz:
src:
github:
user: elerch
repo: requestz
ref: 1fa8157641300805b9503f98cd201d0959d19631

View File

@ -9,7 +9,7 @@ pub fn main() anyerror!void {
var client = try requestz.Client.init(allocator); var client = try requestz.Client.init(allocator);
defer client.deinit(); defer client.deinit();
var response = try client.get("http://httpbin.org/get", .{}); var response = try client.get("http://captive.lerch.org/", .{});
std.log.info("{s}", .{response.body}); std.log.info("{s}", .{response.body});
defer response.deinit(); defer response.deinit();
} }