Skip to content

allyourcodebase/libmaxminddb

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

libmaxminddb

CI LC

Zig build of libmaxminddb library.

🚀 Usage

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