changelog

This commit is contained in:
Alexander Zhirov 2023-03-26 04:00:06 +03:00
parent 275832514e
commit 3d0d45c48c
2 changed files with 22 additions and 0 deletions

11
CHANGELOG.md Normal file
View File

@ -0,0 +1,11 @@
# Changelog
## [0.2.0]()
26.03.2023
### New
- Adding sections support
- Taking into account spaces and tabs to separate the parameter, value and comment
- Added aliases to convenient parameter access to the value

View File

@ -2,6 +2,13 @@
Singleton for reading the configuration file required for your program.
## What can do
1. Separation of parameter and value by separators `=` and `=>`
2. Commenting on lines using special characters `;`, `#`, `//`, `/*`
3. Support for sections for describing parameter blocks (sections are set by the name in `[]`)
4. Support for spaces and tabs for visual separation
## Quick start
The `settings.conf` file (see the [tests](tests/)):
@ -45,3 +52,7 @@ value1 => this value will be in the new section
value3 => good value!
this value will be in the new section
```
## Dub
Add a dependency on `"readconf": "~>0.2.0"`