From 3d0d45c48c3f2199c7c360638f61c488cc9002b3 Mon Sep 17 00:00:00 2001 From: Alexander Date: Sun, 26 Mar 2023 04:00:06 +0300 Subject: [PATCH] changelog --- CHANGELOG.md | 11 +++++++++++ README.md | 11 +++++++++++ 2 files changed, 22 insertions(+) create mode 100644 CHANGELOG.md diff --git a/CHANGELOG.md b/CHANGELOG.md new file mode 100644 index 0000000..b8027f7 --- /dev/null +++ b/CHANGELOG.md @@ -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 diff --git a/README.md b/README.md index dbef01e..ca0752b 100644 --- a/README.md +++ b/README.md @@ -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"`