tweag / topiary

https://topiary.tweag.io/
MIT License
511 stars 17 forks source link

feat: switch to nickel for configuration #703

Open ErinvanderVeen opened 2 months ago

ErinvanderVeen commented 2 months ago

languages.ncl

Issue: #634

[!NOTE]
This PR is blocked until a new nickel-lang-core version is released to crates.io (we don't want to depend on a git crate for topiary-config. See: https://github.com/tweag/nickel/pull/1900

Description

To support Nickel adoption, this PR switches Topiary's configuration from TOML to Nickel.

Unfortunately, this removes the collation mode. We will support a subset of the collation mode using Nickel's merge functionality.

NOTE: Even with nickel's default features disabled, compilation of Topiary is increased by about five-fold with this PR. Don't worry if compilation suddenly takes much longer.

Checklist

Checklist before merging: