Skip to content

Add more usage examples to hierarchical-env #45

@SkeLLLa

Description

@SkeLLLa

Hello. I'm quiet new to rust, so it will be good for me if you add some advanced examples of usage, especially to hierarchical-env example.

What's the best or correct way of accessing nested config values in main.rs, like it's done here: https://github.com/mehcode/config-rs/blob/f70a2d406387fb338f842ba22924d3076da97e22/examples/hierarchical-env/src/main.rs#L15
but to get only value of debug config variable, whole twitter or just only consumer_token

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions