1
Fork 0
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:
Steffo 2023-04-29 02:07:31 +02:00
parent 9f43f871c6
commit 8e860b04db
Signed by: steffo
GPG key ID: 2A24051445686895

View file

@ -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)