I had some trouble understanding what tools I had at my disposal when writing my alire.toml
. I think the documentation could be improved in the catalog-format-spec file. The issues I had were:
[available.'case(distribution)']
Dynamic Boolean expression[depends-on]
array of dynamic dependencies expressions[project-files]
expressions are acceptedos
, distribution
, word-size
, toolchain
all referenced. What else?${CRATE_ROOT}
and ${DISTRIB_ROOT}
. Are there other environment variables exposed?share
folder)Suggestion:
Expressions seem like an extension of TOML? I don't see them referenced in the spec and so they need to be specified. Create a section for Expressions and the various kinds of them. Each time the text "Dynamic Boolean Expression" or "Dynamic Case Expression" appears it can simply link to the new section that fully describes the syntax of that construction.
Pay now to fund the work behind this issue.
Get updates on progress being made.
Maintainer is rewarded once the issue is completed.
You're funding impactful open source efforts
You want to contribute to this effort
You want to get funding like this too