Zig bindings for flx-c
const std = @import("std");
const flx = @import("flx");
pub fn main() !void {
    const result = flx.score("switch-to-buffer", "stb");
    std.debug.print("Score: {d}", .{result.*.score});
}- Add the dependency to the build.zig.zonof your project.
.dependencies = .{
    .flx = .{
        .url = "https://github.com/the-flx/zig-flx/archive/9370accf3bb09a9e27a8c3a6ed7181cecc6679be.tar.gz",
        .hash = "12205a4519fc774374102a05b52a460e4598019dc775d7fb535517171a45abad3a08",
    },
},- Add the dependency and module to your build.zig.
const flx_dep = b.dependency("flx", .{});
const flx_mod = flx_dep.module("flx");
exe.addModule("flx", flx_mod);- Import it inside your project.
const flx = @import("flx");📝 P.S. See examples for full example!
zig-flx is distributed under the terms of the MIT license.
See LICENSE for details.