Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/h8io/borscht
Configuration wrapper for Scala
https://github.com/h8io/borscht
cfg config configuration configuration-library hocon hocon-configuration scala wrapper yaml yaml-configuration
Last synced: about 3 hours ago
JSON representation
Configuration wrapper for Scala
- Host: GitHub
- URL: https://github.com/h8io/borscht
- Owner: h8io
- Created: 2020-12-25T04:05:17.000Z (almost 4 years ago)
- Default Branch: master
- Last Pushed: 2022-11-12T02:14:36.000Z (almost 2 years ago)
- Last Synced: 2024-03-19T12:01:59.410Z (8 months ago)
- Topics: cfg, config, configuration, configuration-library, hocon, hocon-configuration, scala, wrapper, yaml, yaml-configuration
- Language: Scala
- Homepage: https://github.com/h8io/borscht
- Size: 505 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Borscht: Scala 3 configuration library
![Maven Central](https://maven-badges.herokuapp.com/maven-central/io.h8.borscht/borscht-core_3/badge.svg)
## Overview
* supports configuration files (could be extended)
* [HOCON](https://github.com/lightbend/config/blob/main/README.md)
* [YAML](https://yaml.org/) ([Jackson YAML](https://github.com/FasterXML/jackson-dataformats-text/tree/master/yaml) is the underlying library)
* [TOML](https://toml.io/) ([Jackson TOML](https://github.com/FasterXML/jackson-dataformats-text/tree/master/toml) is the underlying library)
* merges configurations of all formats
* renders strings from objects with template engines (could be extended)
* [StringTemplate 4](https://www.stringtemplate.org/)
* [Apache Commons Text](https://commons.apache.org/proper/commons-text/userguide.html) templates, see [StringSubstitutor](http://commons.apache.org/proper/commons-text/apidocs/org/apache/commons/text/StringSubstitutor.html)
* has extensible parser for different objects and values