1
Fork 0
mirror of https://github.com/Steffo99/micronfig.git synced 2024-11-21 23:54:20 +00:00

Update README

This commit is contained in:
Steffo 2024-01-05 07:58:42 +01:00
parent 4c1bac2857
commit 1d1da69351
Signed by: steffo
GPG key ID: 2A24051445686895

View file

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