mirror of
https://github.com/Steffo99/micronfig.git
synced 2024-11-24 09:04:18 +00:00
Add tiny example in the README
This commit is contained in:
parent
9f43f871c6
commit
8e860b04db
1 changed files with 4 additions and 0 deletions
|
@ -2,6 +2,10 @@
|
|||
|
||||
Tiny crate for simple configuration management.
|
||||
|
||||
```rust
|
||||
let ip_addr: std::net::IpAddr = micronfig::required("IP_ADDRESS");
|
||||
```
|
||||
|
||||
## Links
|
||||
|
||||
[![Crates.io](https://img.shields.io/crates/v/micronfig)](https://crates.io/crates/micronfig)
|
||||
|
|
Loading…
Reference in a new issue