---
title: "Discussion on \"How to load configuration file in Rust\" | Hashnode"
description: "Discussion on \"How to load configuration file in Rust\". There are multiple crates available such config and comfy to help you load an external configuration file.\nWe will use config crate for our demo. I am using config version “0.15.9”\n\nAdd config crate your dependency\n\ncargo add config\n\n\nImport the depe..."
url: "https://hashnode.com/posts/how-to-load-configuration-file-in-rust/695e8da85b31ccb01dffeb86"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [How to load configuration file in Rust](https://khushi21.hashnode.dev/how-to-load-configuration-file-in-rust?utm_source=hashnode&utm_medium=feed)

There are multiple crates available such config and comfy to help you load an external configuration file. We will use config crate for our demo. I am using config version “0.15.9” Add config crate your dependency cargo add config Import the depe...

Jan 7 · 2 min read · khushi21.hashnode.dev  
Read the article

-   [#configconfig](https://hashnode.com/tag/configconfig)
-   [#rust](https://hashnode.com/tag/rust)
-   [#configuration](https://hashnode.com/tag/configuration)
-   [#beginner](https://hashnode.com/tag/beginner)
-   [#rust-beginner](https://hashnode.com/tag/rust-beginner)

## Written by

[Khushi Jain](https://hashnode.com/@khushi21)

@khushi21 · India

  
[View profile](https://hashnode.com/@khushi21)

Software Developer @Elastic

I am a software engineer at Elastic working on Elastic-agent and OpenTelemetry Collector

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
