abi

config

Unified configuration system.

Source: src/core/config/mod.zig

Availability: Always enabled


API

pub const Config

const source

Unified configuration for the ABI framework. All feature configs are optional - null means the feature is disabled.

pub fn defaults() Config

fn source

Create a config with all compile-time enabled features using defaults.

pub fn minimal() Config

fn source

Create a minimal config with no features enabled.

pub fn isEnabled(self: Config, feature: Feature) bool

fn source

Check if a feature is enabled in this config.

pub fn enabledFeatures(self: Config, allocator: std.mem.Allocator) ![]Feature

fn source

Get list of enabled features.

pub const Builder

const source

Fluent builder for constructing Config.

pub fn build(self: *Builder) Config

fn source

Finalize and return the built config; no allocation.

pub fn validate(cfg: Config) ConfigError!void

fn source

Validate configuration against compile-time constraints.


Generated automatically by zig build gendocs

Zig Skill

Use the $zig Codex skill for ABI Zig 0.16-dev syntax updates, modular build graph guidance, and targeted validation workflows.