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

Tracking issue for advanced-env #7406

Open
ehuss opened this issue Sep 21, 2019 · 1 comment
Open

Tracking issue for advanced-env #7406

ehuss opened this issue Sep 21, 2019 · 1 comment
Labels
C-tracking-issue Category: A tracking issue for something unstable. S-needs-design Status: Needs someone to work further on the design for the feature or fix. NOT YET accepted. S-waiting-on-feedback Status: An implemented feature is waiting on community feedback for bugs or design concerns. Z-advanced-env Nightly: advanced-env

Comments

@ehuss
Copy link
Contributor

ehuss commented Sep 21, 2019

Implementation: #5552
Issues: Z-advanced-env Nightly: advanced-env

This feature allows Cargo to read more complex configuration values from environment variables. Some examples:

  • Lists can be specified using TOML syntax.
  • Maps can be specified in the key (like CARGO_PROFILE_DEV_OVERRIDES_bar_OPT_LEVEL).

This is intentionally undocumented since it is very experimental and is unlikely to be stabilized in the current form. A lot more thought needs to go into how more advanced env vars should work.

cc #5416, #7253, #2362

@ehuss ehuss added C-tracking-issue Category: A tracking issue for something unstable. Z-advanced-env Nightly: advanced-env labels Sep 21, 2019
@gilescope
Copy link
Contributor

gilescope commented Oct 14, 2020

I can't help wondering if this is the tail wagging the dog. I suspect what most people want is env vars to be usable from within .cargo/config files - if that were possible I suspect the demand for trying to stuff config files into env vars would reduce quite a bit. (I'd be happy to try and make that reality if people were ok with that?)

@ehuss ehuss added S-needs-design Status: Needs someone to work further on the design for the feature or fix. NOT YET accepted. S-waiting-on-feedback Status: An implemented feature is waiting on community feedback for bugs or design concerns. labels Apr 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-tracking-issue Category: A tracking issue for something unstable. S-needs-design Status: Needs someone to work further on the design for the feature or fix. NOT YET accepted. S-waiting-on-feedback Status: An implemented feature is waiting on community feedback for bugs or design concerns. Z-advanced-env Nightly: advanced-env
Projects
Status: Unstable, no backers
Development

No branches or pull requests

2 participants