Skip to content

feature: zentropy-client module#6

Open
mrtowers wants to merge 18 commits intomailmug:mainfrom
mrtowers:client-package
Open

feature: zentropy-client module#6
mrtowers wants to merge 18 commits intomailmug:mainfrom
mrtowers:client-package

Conversation

@mrtowers
Copy link
Contributor

@mrtowers mrtowers commented Oct 16, 2025

created a client module that adds connecting capabilities for the users of Zig.

const zentropy = b.dependency("zentropy", .{ .target = target, .optimize = optimize });
exe.root_module.addImport(zentropy.module("zentropy");

Usage:

const zentropy = @import("zentropy");

pub fn main() !void {
  var client = zentropy.Client.connect(.{});
  defer client.deinit();

  try client.set("key1", "value1");
  ...
}

@mailmug
Copy link
Owner

mailmug commented Oct 16, 2025

Thank you

@arshidkv12
Copy link
Collaborator

arshidkv12 commented Oct 17, 2025

Please add unit test file also.

@mrtowers
Copy link
Contributor Author

mrtowers commented Oct 17, 2025

There will be a unit test when I'm done

@mrtowers mrtowers force-pushed the client-package branch 2 times, most recently from cd72c82 to 8a4c6f2 Compare October 17, 2025 17:28
@mrtowers mrtowers marked this pull request as ready for review October 23, 2025 08:25
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.

3 participants