Skip to content

tensorush/zig-cookie

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

zig-cookie

CI CD DC CC LC

Zig port of cookie library for HTTP cookie storage.

🚀 Usage

  • Add cookie dependency to build.zig.zon.
zig fetch --save https://github.com/tensorush/zig-cookie/archive/<git_tag_or_commit_hash>.tar.gz
  • Use cookie dependency in build.zig.
const cookie_dep = b.dependency("cookie", .{
    .target = target,
    .optimize = optimize,
});
const cookie_mod = cookie_dep.module("cookie");
<compile>.root_module.addImport("cookie", cookie_mod);