Changes
6 changed files (+75/-0)
-
-
@@ -25,3 +25,8 @@ charset = utf-8spelling_language = en-US trim_trailing_whitespace = true insert_final_newline = true # Formatting style used in `zig fmt`. It does not allow any customization. [*.{zig,zon}] indent_style = space indent_size = 4
-
-
.gitignore (new)
-
@@ -0,0 +1,19 @@# Copyright 2025 Shota FUJI # # Licensed under the Zero-Clause BSD License or the Apache License, Version 2.0, at your option. # You may not use, copy, modify, or distribute this file except according to those terms. You can # find a copy of the Zero-Clause BSD License at LICENSES/0BSD.txt, and a copy of the Apache License, # Version 2.0 at LICENSES/Apache-2.0.txt. You may also obtain a copy of the Zero-Clause BSD License # at <https://opensource.org/license/0bsd> and a copy of the Apache License, Version 2.0 at # <https://www.apache.org/licenses/LICENSE-2.0> # # SPDX-License-Identifier: 0BSD OR Apache-2.0 # # === # This file contains project specific ignore rule. Do not put environment (OS, IDE) specific rules. # `zig build` cache .zig-cache # Files generated by `zig build` zig-out
-
-
-
@@ -15,4 +15,5 @@ # This file declares versions of developer toolings. A compatible version manager such as asdf-vm# <https://asdf-vm.com/> and mise-en-place <https://mise.jdx.dev/> loads this file and can install, # configure, and activate the toolings easily. zig 0.14.0 dprint 0.49.0
-
-
build.zig (new)
-
@@ -0,0 +1,22 @@// Copyright 2025 Shota FUJI // // Licensed under the Zero-Clause BSD License or the Apache License, Version 2.0, at your option. // You may not use, copy, modify, or distribute this file except according to those terms. You can // find a copy of the Zero-Clause BSD License at LICENSES/0BSD.txt, and a copy of the Apache License, // Version 2.0 at LICENSES/Apache-2.0.txt. You may also obtain a copy of the Zero-Clause BSD License // at <https://opensource.org/license/0bsd> and a copy of the Apache License, Version 2.0 at // <https://www.apache.org/licenses/LICENSE-2.0> // // SPDX-License-Identifier: 0BSD OR Apache-2.0 // // === // // This file defines how the steps and options for `zig build` command. See official documentation // <https://ziglang.org/learn/build-system/> for more info. const std = @import("std"); pub fn build(b: *std.Build) void { // Exports Zig API. A project depending on this package imports this module. _ = b.addModule("moo", .{ .root_source_file = b.path("src/lib.zig") }); }
-
-
-
@@ -18,7 +18,21 @@ "excludes": ["LICENSES/**/*"],"lineWidth": 100, "newLineKind": "lf", "useTabs": true, "exec": { "cwd": "${configDir}", "commands": [ { "command": "zig fmt --stdin", "exts": ["zig"], }, { "command": "zig fmt --zon --stdin", "exts": ["zon"], }, ], }, "plugins": [ "https://plugins.dprint.dev/json-0.20.0.wasm", "https://plugins.dprint.dev/exec-0.5.1.json@492414e39dea4dccc07b4af796d2f4efdb89e84bae2bd4e1e924c0cc050855bf", ], }
-
-
src/lib.zig (new)
-
@@ -0,0 +1,14 @@// Copyright 2025 Shota FUJI // // Licensed under the Zero-Clause BSD License or the Apache License, Version 2.0, at your option. // You may not use, copy, modify, or distribute this file except according to those terms. You can // find a copy of the Zero-Clause BSD License at LICENSES/0BSD.txt, and a copy of the Apache License, // Version 2.0 at LICENSES/Apache-2.0.txt. You may also obtain a copy of the Zero-Clause BSD License // at <https://opensource.org/license/0bsd> and a copy of the Apache License, Version 2.0 at // <https://www.apache.org/licenses/LICENSE-2.0> // // SPDX-License-Identifier: 0BSD OR Apache-2.0 // // === // // Zig API.
-