Skip to main content

Crate configbuilder_pattern_builder

Crate configbuilder_pattern_builder 

Source
Expand description

configbuilder-pattern-builder — the configbuilder domain’s trait contract (ConfigBuilder, ConfigBuilderInit, BuilderFinalizer) and its tech-agnostic data (ApplicationConfig).

ConfigBuilderBound (the marker trait binding the real builder types) and the XDG/filesystem composition root itself (ConfigBuilderImpl, DefaultConfigBuilder, DefaultSubstitutionConfigBuilder) all live in configbuilder-svc-saf instead, since ConfigBuilderBound’s associated types name those real, concrete builder types directly – unlike SectionLoaderBound/ValidatorBound, which bind to this pattern’s own reference types and so stay here.

Structs§

ApplicationConfig
Root configuration read from config/application.toml under the [configbuilder] key.

Traits§

BuilderFinalizer
Consume a configured builder and produce a ready-to-use section loader.
ConfigBuilder
Assemble application configuration from named sources.
ConfigBuilderInit
Initialisation and timeout-override methods for concrete config builders.