Needed to change the build to replace crates-io with the powershell feed to be compliant, but if build.ps1 -UseCFS is NOT specified, we replace it back with crates-io. The change uses the equivalent env var as it takes precedence.
This will ensure that the release build is compliant while not impacting community builds or CI. This also removes the injected lines in config.toml that replaces with powershell feed since that is now the default in the config.toml file.
PR Summary
Needed to change the build to replace
crates-io
with thepowershell
feed to be compliant, but ifbuild.ps1 -UseCFS
is NOT specified, we replace it back withcrates-io
. The change uses the equivalent env var as it takes precedence. This will ensure that the release build is compliant while not impacting community builds or CI. This also removes the injected lines inconfig.toml
that replaces withpowershell
feed since that is now the default in theconfig.toml
file.