This repository was archived by the owner on Jun 18, 2026. It is now read-only.
Improve config layering and HTML help navigation#94
Merged
Conversation
Merged
fasterthanlime
pushed a commit
that referenced
this pull request
May 9, 2026
## 🤖 New release * `figue-attrs`: 4.0.0 -> 4.0.1 * `figue`: 4.0.0 -> 4.0.1 (✓ API compatible changes) <details><summary><i><b>Changelog</b></i></summary><p> ## `figue-attrs` <blockquote> ## [4.0.0](figue-attrs-v3.0.1...figue-attrs-v4.0.0) - 2026-05-09 ### Other - Add built-in JSON Schema export ([#91](#91)) </blockquote> ## `figue` <blockquote> ## [4.0.1](figue-v4.0.0...figue-v4.0.1) - 2026-05-09 ### Other - Improve config layering and HTML help navigation ([#94](#94)) </blockquote> </p></details> --- This PR was generated with [release-plz](https://github.com/release-plz/release-plz/). Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
fasterthanlime
pushed a commit
to facet-rs/facet
that referenced
this pull request
Jun 18, 2026
## 🤖 New release * `figue-attrs`: 4.0.0 -> 4.0.1 * `figue`: 4.0.0 -> 4.0.1 (✓ API compatible changes) <details><summary><i><b>Changelog</b></i></summary><p> ## `figue-attrs` <blockquote> ## [4.0.0](bearcove/figue@figue-attrs-v3.0.1...figue-attrs-v4.0.0) - 2026-05-09 ### Other - Add built-in JSON Schema export ([#91](bearcove/figue#91)) </blockquote> ## `figue` <blockquote> ## [4.0.1](bearcove/figue@figue-v4.0.0...figue-v4.0.1) - 2026-05-09 ### Other - Improve config layering and HTML help navigation ([#94](bearcove/figue#94)) </blockquote> </p></details> --- This PR was generated with [release-plz](https://github.com/release-plz/release-plz/). Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
fasterthanlime
pushed a commit
to facet-rs/facet
that referenced
this pull request
Jun 18, 2026
## 🤖 New release * `figue-attrs`: 4.0.0 -> 4.0.1 * `figue`: 4.0.0 -> 4.0.1 (✓ API compatible changes) <details><summary><i><b>Changelog</b></i></summary><p> ## `figue-attrs` <blockquote> ## [4.0.0](bearcove/figue@figue-attrs-v3.0.1...figue-attrs-v4.0.0) - 2026-05-09 ### Other - Add built-in JSON Schema export ([#91](bearcove/figue#91)) </blockquote> ## `figue` <blockquote> ## [4.0.1](bearcove/figue@figue-v4.0.0...figue-v4.0.1) - 2026-05-09 ### Other - Improve config layering and HTML help navigation ([#94](bearcove/figue#94)) </blockquote> </p></details> --- This PR was generated with [release-plz](https://github.com/release-plz/release-plz/). Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
This PR tightens Figue's config layering around multiple config roots, CLI-provided config files, boolean config overrides, and flattened config roots. It also includes the HTML help feedback pass so generated help remains navigable and readable for large schemas.
Changes
--flag,--flag=false, and--no-flagforms where applicable.#[facet(args::config)] #[facet(flatten)]roots so ergonomic CLI flags can still merge with env/file/dotted overrides under the config-root namespace, with collision checks.#[facet(default)] Vec<_>fields inside flattened config roots.Testing
cargo nextest run -p figue -E 'test(html_help)'cargo nextest run -p figue -E 'test(flattened_config_root)'cargo clippy --workspace --all-targets --all-features -- -D warningscargo nextest run -p figue