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

cargo_toml_env_vars: rule for generating env vars from a Cargo.toml file #2772

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

Commits on Aug 1, 2024

  1. cargo_toml_env_vars: rule for generating env vars from a Cargo.toml file

    This allows people to set all of the compile-time variables that would
    be set by Cargo.
    
    This doesn't currently wire up crate_universe to generate and depend on
    these targets for third-party crates, but I can add that if this PR
    looks good - it should just be a matter of a small addition to the
    generation templates (one new target, and setting `rustc_env_files` to
    point at the new target).
    illicitonion committed Aug 1, 2024
    Configuration menu
    Copy the full SHA
    f672a5c View commit details
    Browse the repository at this point in the history
  2. Set MSRV to 1.70

    Cargo didn't set `CARGO_PKG_README` before then, and this avoids needing
    to make tests conditional on rust version.
    illicitonion committed Aug 1, 2024
    Configuration menu
    Copy the full SHA
    51d555a View commit details
    Browse the repository at this point in the history
  3. Add docs

    illicitonion committed Aug 1, 2024
    Configuration menu
    Copy the full SHA
    33d417f View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    8744879 View commit details
    Browse the repository at this point in the history