mirage-injector 2.0.0

A Poodinis value injector for reading config files using Mirage Config

To use this package, run the following command in your project's root directory:

Manual usage
Put the following dependency into your project's dependences section:

Mirage Config injector for Poodinis

Version 2.0.0 Copyright 2022-2023 Mike Bierlee Licensed under the terms of the MIT license - See LICENSE.txt

DUB Package CI

A config value injector for the Poodinis dependency injection framework using Mirage Config

Requires at least a D 2.097.2 compatible compiler

Getting started

DUB Dependency

See the DUB project page for instructions on how to include Mirage Config into your project.


import poodinis : DependencyContainer, Value;
import poodinis.valueinjector.mirage : loadConfig;

import std.stdio : writeln;
import std.conv : to;

class Server {
    private string host;

    private int port;

    public void run() {
        writeln("Running server on " ~ host ~ ":" ~ port.to!string);

void main() {
    auto container = new shared DependencyContainer();

    auto server = container.resolve!Server;

Functions such as loadConfig are the same as available in Mirage. All individual loaders and parses are available. For more information on how to use Mirage, see https://github.com/mbierlee/mirage-config/blob/main/README.md


For a full overview of changes, see CHANGES.md

  • Mike Bierlee
poodinis, mirage-config
2.0.0 2023-Mar-13
1.0.2 2022-Nov-28
~main 2023-Mar-13
~develop 2023-Mar-13
Show all 4 versions
Download Stats:
  • 0 downloads today

  • 0 downloads this week

  • 0 downloads this month

  • 20 downloads total

Short URL: