Something went wrong. Try again.
Zig bindings for the Singlewire InformaCast API, generated at build time from its OpenAPI specification.
Something went wrong. Try again.
12345678910111213141516171819// SPDX-FileCopyrightText: © 2026 Jeffrey C. Ollie <jeff@ocjtech.us>// SPDX-License-Identifier: MIT
//! Nothing is tested here beyond compiling: the module is generated, and a//! declaration nobody references is never analyzed, so without this a schema//! that generates broken Zig would go unnoticed until a dependent imported//! the broken part.
const std = @import("std");const informacast = @import("informacast");
test "the generated module compiles" { // What `std.testing.refAllDecls` does, with room for several thousand // declarations rather than its default quota of a thousand branches. const decls = comptime std.meta.declarations(informacast); @setEvalBranchQuota(decls.len * 10); inline for (decls) |name| _ = &@field(informacast, name);}