Skip to content

harmony-co/lightql

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

lightql

Build SQLite with a minimal setup, using zig

Installation

git submodule add git@github.com:harmony-co/lightql.git
git submodule update --init --recursive

In your build.zig.zon:

.dependencies = .{
    .lightql = .{
        .path = "lightql",
    },
},

And import it on your build.zig file:

const lightql = b.dependency("lightql", .{ .target = target, .optimize = optimize });

const exe = b.addExecutable(.{
    .name = "your_project",
    .root_module = b.createModule(.{
        .root_source_file = b.path("src/main.zig"),
        .target = target,
        .optimize = optimize,
        .imports = &.{
            .{ .name = "lightql", .module = lightql.module("lightql") },
        },
    }),
});
b.installArtifact(exe);

Releases

No releases published

Packages

 
 
 

Contributors

Languages