diff --git a/build.zig b/build.zig index 7fd39d2..02d1df2 100644 --- a/build.zig +++ b/build.zig @@ -1,9 +1,14 @@ const std = @import("std"); -pub fn build(b: *std.Build) void { +pub fn build(b: *std.Build) !void { const target = b.standardTargetOptions(.{}); const optimize = b.standardOptimizeOption(.{}); + const verkle_crypto_module = b.createModule(.{ + .source_file = .{ .path = "src/main.zig" }, + }); + try b.modules.put(b.dupe("verkle-crypto"), verkle_crypto_module); + const lib = b.addStaticLibrary(.{ .name = "verkle-crypto", .root_source_file = .{ .path = "src/main.zig" }, diff --git a/build.zig.zon b/build.zig.zon new file mode 100644 index 0000000..3e7da9b --- /dev/null +++ b/build.zig.zon @@ -0,0 +1,4 @@ +.{ + .name = "verkle-crypto", + .version = "0.1.0", +} diff --git a/src/main.zig b/src/main.zig index 48c6dda..e8f0e42 100644 --- a/src/main.zig +++ b/src/main.zig @@ -1,4 +1,9 @@ const std = @import("std"); +pub const banderwagon = @import("banderwagon/banderwagon.zig"); +pub const bandersnatch = @import("bandersnatch/bandersnatch.zig"); +pub const crs = @import("crs/crs.zig"); +pub const ipa = @import("ipa/ipa.zig"); +pub const multiproof = @import("multiproof/multiproof.zig"); pub fn main() !void {}