Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: switch to nickel for configuration #703

Draft
wants to merge 5 commits into
base: main
Choose a base branch
from

Conversation

ErinvanderVeen
Copy link
Member

@ErinvanderVeen ErinvanderVeen commented Apr 26, 2024

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: tweag/nickel#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:

  • CHANGELOG.md updated
  • README.md up-to-date

Unfortunately, this removes the collation mode.

We will support a subset of the collation mode using Nickel's merge
functionality.
@ErinvanderVeen ErinvanderVeen linked an issue Apr 26, 2024 that may be closed by this pull request
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

languages.ncl
1 participant