mirror of
https://github.com/Steffo99/micronfig.git
synced 2024-11-21 23:54:20 +00:00
Update README
This commit is contained in:
parent
4c1bac2857
commit
1d1da69351
1 changed files with 6 additions and 1 deletions
|
@ -3,7 +3,12 @@
|
||||||
Tiny crate for simple configuration management.
|
Tiny crate for simple configuration management.
|
||||||
|
|
||||||
```rust
|
```rust
|
||||||
micronfig::required!(IP_ADDRESS, std::net::IpAddr);
|
micronfig::config! {
|
||||||
|
DATABASE_URI,
|
||||||
|
APPLICATION_NAME: String,
|
||||||
|
MAX_CONCURRENT_USERS: String > u64,
|
||||||
|
SHOWN_ALERT?,
|
||||||
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
## Links
|
## Links
|
||||||
|
|
Loading…
Reference in a new issue